ci: make ccache hits survive per-run compiler installs (hash content, not mtime)
linux / build (push) Successful in 13m33s
linux / build (push) Successful in 13m33s
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user