ci: cache mcpp sandbox + install patchelf, run Linux elfpatch tests#18
Closed
Sunrisepeak wants to merge 1 commit into
Closed
ci: cache mcpp sandbox + install patchelf, run Linux elfpatch tests#18Sunrisepeak wants to merge 1 commit into
Sunrisepeak wants to merge 1 commit into
Conversation
Two CI optimizations: 1. **Cache mcpp's self-bootstrapped sandbox** (musl-gcc + binutils + glibc + ninja + patchelf, ~800 MB) under a fixed key `mcpp-sandbox-Linux-mcpp0.0.3`. Toolchain set is version-pinned by mcpp 0.0.3, so the key needs no source / lock fingerprint. Cache-hit runs skip the bulk download. 2. **Install patchelf via apt + un-filter Linux elfpatch tests.** The previous filter `-ExecutorTest.ApplyElfpatchAuto_*` skipped five tests because the runner had no `patchelf` / `install_name_tool`. With apt's patchelf in place, the three `Linux*` tests now run; only the two `MacOs*` ones (which still need `install_name_tool`) stay filtered: `--gtest_filter=-ExecutorTest.ApplyElfpatchAuto_MacOs*`.
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.
Two CI optimizations:
Cache
~/.xlings/data/xpkgs/xim-x-mcpp/0.0.3/registry(mcpp 0.0.3's bootstrapped musl-gcc + binutils + glibc + ninja + patchelf, ~800 MB). Fixed key safe since the set is version-pinned.apt install patchelf+ narrow the filter from-ApplyElfpatchAuto_*to-ApplyElfpatchAuto_MacOs*. The threeLinux*elfpatch tests now run on CI; only the twoMacOs*ones (need install_name_tool) stay skipped.