Skip to content

GHActions: Clean old stuff out of ccache - #14691

Open
TellowKrinkle wants to merge 4 commits into
PCSX2:masterfrom
TellowKrinkle:CacheClean
Open

GHActions: Clean old stuff out of ccache#14691
TellowKrinkle wants to merge 4 commits into
PCSX2:masterfrom
TellowKrinkle:CacheClean

Conversation

@TellowKrinkle

@TellowKrinkle TellowKrinkle commented Jul 13, 2026

Copy link
Copy Markdown
Member

Description of Changes

Adds a CI step to clean stuff out of ccache caches if it hasn't been needed for a day.
(The clean runs after the build, so anything that was needed by the most recent build will be kept.)

Also fixes caches for AppImage debug builds, since I noticed they were previously shared with release builds, and turns off LTO for debug builds for faster cached builds.

Rationale behind Changes

We currently rely on our 100MB cache size limit to clear old stuff out of the ccache cache. This means all our ccache caches are near 100MB, which is kind of wasteful.

Suggested Testing Steps

Look at the size of the output cache for this PR

Did you use AI to help find, test, or implement this issue or feature?

No

@TellowKrinkle
TellowKrinkle marked this pull request as ready for review July 13, 2026 04:42
@Mrlinkwii Mrlinkwii added this to the Release 2.8 milestone Jul 14, 2026
@JordanTheToaster
JordanTheToaster requested a review from F0bes July 15, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants