github: Use separate caches for custom-built dependencies

These are shared by many tests, in particular the "all", "coverage",
"no-dbg" and "no-testable-ke" tests, which each would otherwise require
their own large cache.

Similarly, the "codeql" and "sonarcloud" tests rely on the same
dependencies but only the latter uses ccache for the strongSwan build.

Also reduce the maximum size per cache for all workflows to keep them
in check over time (some could even be set lower, we'll have to see
how this develops).
This commit is contained in:
Tobias Brunner
2026-05-12 16:34:22 +02:00
parent 821ba89961
commit 3b902ea59b
6 changed files with 166 additions and 57 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ permissions:
env:
CCACHE_BASEDIR: ${{ github.workspace }}
CCACHE_COMPRESS: true
CCACHE_MAXSIZE: 400M
CCACHE_MAXSIZE: 150M
CC: gcc
OS_NAME: linux