Raise ccache max size to 8G

2G is tight when caching objects across kernel-version transitions (the cache holds more than one X.Y.Z at a time); 8G keeps older objects from being evicted prematurely. ccache only stores what a build produces, so this raises the cap, not the per-run size.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-06-18 01:16:20 +08:00
parent 93e72f8cbe
commit 84107222b9
+1 -1
View File
@@ -157,7 +157,7 @@ jobs:
echo "/usr/lib/ccache" >> "$GITHUB_PATH" echo "/usr/lib/ccache" >> "$GITHUB_PATH"
{ {
echo "CCACHE_DIR=$HOME/.ccache" echo "CCACHE_DIR=$HOME/.ccache"
echo "CCACHE_MAXSIZE=2G" echo "CCACHE_MAXSIZE=8G"
echo "CCACHE_COMPRESS=1" echo "CCACHE_COMPRESS=1"
} >> "$GITHUB_ENV" } >> "$GITHUB_ENV"