Open
Description
The ccache
action speeds up *nix builds considerably (though not enough that we could do without it).
The issue with it is that every build uploads a new cache, filling up our quota very quickly. GitHub removes caches that weren't used recently, but ccache is aggressive enough that it's crowding out smaller, useful entries. Specifically, the action to mark stale-PRs (which only runs every once in a while), has its state removed before the next run.
- Solve this in
main
. (It's hard to test locally, iterating onmain
seems to be the best way to do it. Sorry for the noise!) - Backport to bugfix branches
Linked PRs
- GH-113858: GitHub Actions config: Only save ccache on pushes #113859
- gh-113858: Cut down ccache size #113945
- [3.12] gh-113858: GH Actions: Make ccache smaller (GH-113859, GH-113945) #114082
- gh-113858: GH Actions: Limit max ccache size for the asan build #114113
- [3.11] gh-113858: GH Actions: Make ccache smaller (GH-114082) #114188