Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 2, 2026

CI pipeline was slow due to installing unused Boost libraries and not utilizing the 16-thread self-hosted runner.

Boost dependency cleanup (vcpkg.json)

  • Removed: boost-optional, boost-core (unused; core is transitive anyway)
  • Added: boost-algorithm, boost-regex (actually used but were transitive deps)
  • Kept: boost-property-tree, boost-range, boost-smart-ptr

Parallel builds

  • ubuntu-ci.yml: cmake --build buildcmake --build build -j16
  • copilot-setup-steps.yml: Added missing build step with -j16
Original prompt

The CI pipeline takes quite long due to the installation of many different boost libraries. But most of them are not used. Revise vcpkg.json and CMakeLists.txt to optimize build time.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@chrxh
Copy link
Owner

chrxh commented Jan 2, 2026

@copilot The self-hosted runner for the CI has a CPU with 8 cores/16 threads. Adapt ubuntu-ci.yml and copilot-setup-steps.yml to use them for the build process.

- vcpkg.json: Remove unused boost-optional and boost-core
- vcpkg.json: Add boost-algorithm and boost-regex (actually used)
- ubuntu-ci.yml: Add -j16 for parallel builds (16 threads)
- copilot-setup-steps.yml: Add build step with -j16

Co-authored-by: chrxh <73127001+chrxh@users.noreply.github.com>
Copilot AI changed the title [WIP] Revise vcpkg.json and CMakeLists.txt to optimize build time Optimize CI build time: prune Boost deps, enable parallel builds Jan 2, 2026
Copilot AI requested a review from chrxh January 2, 2026 22:57
@chrxh chrxh marked this pull request as ready for review January 2, 2026 23:00
@chrxh chrxh merged commit 3675250 into develop Jan 2, 2026
1 check failed
@chrxh chrxh deleted the copilot/optimize-boost-libraries branch January 2, 2026 23:00
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