Skip to content

fix: CI — install musl-gcc before setting default + add ci-fresh-install workflow#64

Closed
Sunrisepeak wants to merge 3 commits into
mainfrom
fix/ci-musl-install
Closed

fix: CI — install musl-gcc before setting default + add ci-fresh-install workflow#64
Sunrisepeak wants to merge 3 commits into
mainfrom
fix/ci-musl-install

Conversation

@Sunrisepeak
Copy link
Copy Markdown
Member

Summary

  • ci.yml: add mcpp toolchain install gcc 15.1.0-musl before toolchain default — the musl-gcc test assumed the toolchain was cached, fails after cache clears
  • Add ci-fresh-install.yml: validates released mcpp on clean machines (xlings install mcpp → mcpp build → mcpp new → mcpp run)

Follow-up to PR #62.

The musl-gcc test step assumed the toolchain was already cached.
After cache clears, `toolchain default gcc@15.1.0-musl` fails with
"not installed". Add explicit install before setting default.
Tests the released mcpp on clean machines (no cache):
  Linux: xlings install mcpp → mcpp build → mcpp new → mcpp run
         + LLVM toolchain install (continue-on-error)
  macOS: xlings install mcpp → mcpp build → mcpp new → mcpp run
  Windows: xlings install mcpp → mcpp build → mcpp new → mcpp run
Each toolchain smoke test now builds mcpp from source (self-host)
instead of a trivial hello-world project. This validates that the
toolchain can compile a real C++23 modules project.

Coverage:
  Linux:   gcc@16.1.0 builds mcpp ✓
           musl-gcc@15.1.0 builds mcpp ✓
           llvm@20.1.7 builds mcpp ✓
  macOS:   llvm@20.1.7 builds mcpp ✓ (default, in self-host smoke)
  Windows: llvm@20.1.7 builds mcpp ✓ (new explicit step)
@Sunrisepeak
Copy link
Copy Markdown
Member Author

Superseded by #63 which has the complete CI architecture changes.

@Sunrisepeak Sunrisepeak deleted the fix/ci-musl-install branch May 21, 2026 22:34
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