Keep sccache server alive during long jobs

This commit is contained in:
2026-05-05 20:27:40 -07:00
parent f71948857f
commit 791d065c4c
2 changed files with 4 additions and 0 deletions

View File

@@ -68,4 +68,7 @@ Omit `sccache-bucket` to use the runner-local sccache cache:
variables from workflow secrets.
- `SCCACHE_IGNORE_SERVER_IO_ERROR=1` is set so a cache outage falls back to
local compilation instead of failing the build.
- `SCCACHE_IDLE_TIMEOUT=3600` keeps the server alive across long build/test
steps, which matters when the setup step has S3 credentials scoped only to
that step.
- Add `sccache --show-stats` after build/test steps to inspect cache hit rates.