Skip to content

CI: delete superseded ccache caches and fix shared ccache key in CI-unixish-docker - #9054

Merged
danmar merged 1 commit into
cppcheck-opensource:mainfrom
cppchecksolutions:ccache-cleanup
Nov 20, 2026
Merged

danmar merged 1 commit into
cppcheck-opensource:mainfrom
cppchecksolutions:ccache-cleanup

Conversation

@danmar

@danmar danmar commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

hendrikmuhs/ccache-action saves a new timestamped cache entry on every run without deleting the previous one. These superseded entries took up about half of the 10 GB cache limit, causing other caches (e.g. the cppcheck binary in scriptcheck) to be evicted before they were used. Add a workflow that keeps only the newest ccache entry per key.

The build_cmake and build_make jobs in CI-unixish-docker used the same ccache key and overwrote each other's caches. Include the job name in the key.

…nixish-docker

hendrikmuhs/ccache-action saves a new timestamped cache entry on every run without
deleting the previous one. These superseded entries took up about half of the 10 GB
cache limit, causing other caches (e.g. the cppcheck binary in scriptcheck) to be
evicted before they were used. Add a workflow that keeps only the newest ccache entry
per key.

The build_cmake and build_make jobs in CI-unixish-docker used the same ccache key and
overwrote each other's caches. Include the job name in the key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@danmar
danmar merged commit ba89fed into cppcheck-opensource:main Nov 20, 2026
63 checks passed
@danmar
danmar deleted the ccache-cleanup branch November 22, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants