This document applies to GitHub Actions CI only.
The CI uses ccache to accelerate C/C++ builds. The cache is stored via GitHub Actions Cache with weekly rotation, and ccache validates every object retrieval for correctness.
Common tasks (CI)
[no-ccache]
in the commit message, orTests
workflow with disable_ccache=true
.Tests
with cache_suffix
set to any string (e.g., a short hash). This appends to the cache key so a new cache archive is created.When master builds fail
master
.Debugging tips (CI)
ccache -s
step to inspect hit/miss rates.CCACHE_COMPILERCHECK=content
, so caches are automatically missed on compiler changes.CCACHE_SLOPPINESS=time_macros
. If your build embeds __DATE__
/__TIME__
, be aware objects may be reused across runs for these macros.Notes