Enable sccache in CI for C++#312
Conversation
There was a problem hiding this comment.
Pull request overview
This PR enables sccache (a compiler cache) for C++ builds in CI to improve build performance by caching compilation artifacts.
Key Changes:
- Added sccache as a tool dependency in the mise configuration
- Configured CMake to use sccache as the compiler launcher
- Updated all CI build presets to inherit the sccache configuration
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| solvers/cpp/mise.toml | Added sccache version 0.12.0 as a tool dependency |
| solvers/cpp/CMakePresets.json | Created new hidden preset to configure sccache as CMAKE_CXX_COMPILER_LAUNCHER |
| .github/files/CMakeUserPresets.json | Updated all CI presets to inherit from the sccache preset |
| .github/actions/cmake-project-setup/action.yaml | Added steps to determine sccache version, set up sccache via GitHub action, and enable sccache for GitHub Actions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
5880ae7 to
bc76155
Compare
bc76155 to
b74318f
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
d73fe4a to
cf8ca2c
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
a0f53f9 to
1c88284
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
1c88284 to
f0da01a
Compare
No description provided.