Skip to content

Speed up CI builds: cache v4, google-test caching, parallel C++ compiles#1248

Open
Copilot wants to merge 5 commits intomainfrom
copilot/improve-build-speed
Open

Speed up CI builds: cache v4, google-test caching, parallel C++ compiles#1248
Copilot wants to merge 5 commits intomainfrom
copilot/improve-build-speed

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 4, 2026

CI build speed improvements:

  • Commit 1: Upgrade actions/cache@v3actions/cache@v4 in all composite actions
  • Commit 2: Add caching to the google-test composite action
  • Commit 3: Use all available processors in C++ builds (msbuild /m, make -j$(nproc))
  • Commit 4: Cache Boost — wrapped every mickem/build-boost invocation in actions/cache@v4 so the heaviest step (Boost compile, several minutes) only runs on cache miss. The action is idempotent: on a cache-hit b2 sees everything up-to-date and the root/librarydir outputs are populated almost instantly. Cache keys include version, platform, runtime/static flag, and toolset/xp variant so the build-windows-legacy XP boost is keyed separately from the modern build-windows boosts.

This is the change that should produce a real, noticeable speed-up on Windows CI.

@mickem mickem marked this pull request as ready for review May 4, 2026 18:24
Copilot AI requested a review from mickem May 5, 2026 03:58
Copilot finished work on behalf of mickem May 5, 2026 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants