Skip to content

ci: cache mcpp's self-bootstrapped sandbox#3

Merged
Sunrisepeak merged 1 commit intomainfrom
ci/cache-sandbox
May 9, 2026
Merged

ci: cache mcpp's self-bootstrapped sandbox#3
Sunrisepeak merged 1 commit intomainfrom
ci/cache-sandbox

Conversation

@Sunrisepeak
Copy link
Copy Markdown
Member

Add actions/cache@v4 for ~/.xlings/data/xpkgs/xim-x-mcpp/0.0.3/registry (where mcpp populates musl-gcc + binutils + glibc + ninja + patchelf, ~800 MB, on first run). Toolchain set is version-pinned, fixed key suffices. Cache-hit runs skip the download.

mcpp 0.0.3's binary lives at xim-x-mcpp/0.0.3/bin/mcpp; on first
run it self-detects home as that grandparent and bootstraps musl-gcc
+ binutils + glibc + ninja + patchelf into <home>/registry/data/xpkgs.
Toolchain set is version-pinned by mcpp 0.0.3, so a fixed cache key
is safe. Cache-hit runs skip the ~800 MB download.
@Sunrisepeak Sunrisepeak merged commit cca6df0 into main May 9, 2026
1 check passed
@Sunrisepeak Sunrisepeak deleted the ci/cache-sandbox branch May 9, 2026 22:26
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.

1 participant