ci: make ccache hits survive per-run compiler installs (hash content, not mtime)
linux / build (push) Successful in 13m33s

This commit is contained in:
2026-11-29 17:37:57 +00:00
parent 06a734beac
commit d2f9f31883
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -17,6 +17,9 @@ env:
# Jobs run as root in the pinned container; keep this stable so the
# actions/cache path below matches.
CCACHE_DIR: /root/.cache/ccache
# apt installs a fresh compiler (new mtime) every run; hash its CONTENT so the
# cache still hits across runs (default mtime check would miss every time).
CCACHE_COMPILERCHECK: content
jobs:
build:
+3
View File
@@ -30,6 +30,9 @@ env:
# Jobs run as root in the pinned container; keep this stable so the
# actions/cache path below matches.
CCACHE_DIR: /root/.cache/ccache
# apt installs a fresh compiler (new mtime) every run; hash its CONTENT so the
# cache still hits across runs (default mtime check would miss every time).
CCACHE_COMPILERCHECK: content
jobs:
release: