Repository navigation
ci: ccache for every build type, Ninja on Windows (0162) - #464
Merged
Merged
Conversation
Builds compiled everything from scratch in every job (macOS build steps grew from 47 to 166 job-minutes between Oct 3 and Oct 11) and MSVC built serially with NMake. Jobs now restore a per-job ccache saved by master pushes. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiUW6zog3Gpn13eX59fE1c
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiUW6zog3Gpn13eX59fE1c
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiUW6zog3Gpn13eX59fE1c
rmorozov
marked this pull request as ready for review
October 11, 2026 19:07
rmorozov
pushed a commit
that referenced
this pull request
Oct 11, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMcWcpGwhiaEs33YjAgEV4
This was referenced Oct 11, 2026
rmorozov
added a commit
that referenced
this pull request
Oct 11, 2026
Claude-Session: https://claude.ai/code/session_01KMcWcpGwhiaEs33YjAgEV4 Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Ruslan · project thread
Before: every CI job compiled the whole tree from scratch. macOS build steps summed to 47 job-minutes on 2026-10-03 and 166 on 2026-10-11 (
macos-15 C++23 Debug16 -> 46 min), the master macOS workflow took 57-150 min, and MSVC built serially with NMake (15-20 min per job). Six macOS jobs also queued behind the free plan's 5 macOS runners.After: Linux, sanitizer, macOS, Windows, Conan and fuzz jobs restore a per-job ccache (
.github/actions/setup-ccache). Windows builds with Ninja in parallel, with/Z7so ccache can cache MSVC objects. macOS runs 4 jobs instead of 6 (three Release rows plus one Debug on macos-15 C++20).Measured on this PR (same commit, cold run, then re-run with the cache the first run saved; build step per job)
Cold runs include queueing behind other runs. Warm numbers need a cache: PRs restore master's, and only master pushes save it, so a PR is warm once this lands and master has run once. During measurement this branch saved too; that is removed in the last commit.
Left out (docs/tasks/0162): CodeQL (a cache hit hides the compile from its extractor), benchmark (path-sensitive instruction gate), coverage (.gcno with ccache).
Roles: main session only. Verifier not run (CI-only change). Red pushes: 0.
🤖 Generated with Claude Code
https://claude.ai/code/session_01SiUW6zog3Gpn13eX59fE1c