Reusable CI: Allow specifying targets, defines, link and variant for B2 builds#338
Reusable CI: Allow specifying targets, defines, link and variant for B2 builds#338Flamefire wants to merge 2 commits into
Conversation
Windows CMD is not powerful enough for the correct translation of quoted B2 input variables like `B2_DEFINE`
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #338 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 24 24
Branches 11 11
=========================================
Hits 24 24 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
There are a wide variety of CI scripts running. |
Quick summary: build.bat
enforce.sh
So I'm very sure this does not cause any regressions as it is mostly refactoring and making things more consistent & robust. |
Previously it was possible to specify all the
B2_*variables, but now we'd always build at least the 4 combinations of static/shared & debug/releaseThis PR brings that feature back as inputs like
b2_variantforB2_VARIANTExample run: https://github.com/boostorg/boost-ci/actions/runs/25934255926/job/76381752610
And Windows:
This shows correct argument parsing also on Windows. It's just a B2 bug now not allowing this, see https://cpplang.slack.com/archives/C27KZLB0X/p1778846649331049
I don't know why it stops at
...found 1 target...there, but probably due to or related to that.