[CI] Show Stats in CI Log

This patch makes utils.sh also print the stats out. This is particularly
useful in postcommit CI where we are currently not saving artifacts.
This commit is contained in:
Aiden Grossman 2025-08-16 20:55:45 +00:00
parent 73775a0f27
commit ddae3b74a3

View File

@ -24,6 +24,7 @@ function at-exit {
retcode=$?
mkdir -p artifacts
sccache --show-stats
sccache --show-stats >> artifacts/sccache_stats.txt
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
cp "${MONOREPO_ROOT}"/*.log artifacts/ || :