GHA: Cache boost checkout#241
Draft
Flamefire wants to merge 4 commits into
Draft
Conversation
Flamefire
force-pushed
the
cache-boost
branch
7 times, most recently
from
November 26, 2024 13:24
ee676cc to
5aa75a4
Compare
Collaborator
Author
|
@jeking3 This seems to work now. Can you take a look? You can copy that to your repo once this is merged as the change to the script is required because the |
Flamefire
force-pushed
the
cache-boost
branch
from
November 27, 2024 09:51
dacc6bd to
8097ca0
Compare
Flamefire
force-pushed
the
cache-boost
branch
from
November 27, 2024 14:34
8097ca0 to
ae7891a
Compare
Flamefire
force-pushed
the
cache-boost
branch
2 times, most recently
from
November 28, 2024 09:23
0037e71 to
9c33cc2
Compare
Flamefire
force-pushed
the
cache-boost
branch
from
November 28, 2024 14:23
4460bb8 to
cb3b3fb
Compare
Instead of cloning the Boost main repository and later potentially many submodules (by `depinst.py`) we can cache the last checkout. On any changes the checkout-and-pull should update it to the appropriate version.
When we copy the whole boost-root AFTER the build(s) it will contain also build artefacts such as the bin.v2 folder. When restoring that later B2 might skip parts of the build although it should not. Make a copy after the initial setup & bootstrap.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #241 +/- ##
=========================================
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:
|
Flamefire
marked this pull request as draft
May 1, 2026 09:57
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.
Instead of cloning the Boost main repository and later potentially many submodules (by
depinst.py) we can cache the last checkout.On any changes the checkout-and-pull should update it to the appropriate version.
Closes #240