Skip to content

ci: Blacksmith runners for Linux + Windows builds (~5x faster)#67

Merged
tompassarelli merged 2 commits into
mainfrom
ci/blacksmith-runners
Jun 19, 2026
Merged

ci: Blacksmith runners for Linux + Windows builds (~5x faster)#67
tompassarelli merged 2 commits into
mainfrom
ci/blacksmith-runners

Conversation

@tompassarelli

@tompassarelli tompassarelli commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Move the two slow CI builds to Blacksmith runners.

Result (measured on the branch)

  • Linux: 130 min → 24.4 min (~5.3x), success, 81.5 MB artifact. Compile step 14.9 min.
  • Windows: ~134 min → 26.4 min (~5x), success.
  • macOS: kept on GitHub-hosted macos-26. Blacksmith's macos-26 image lags the SDK (darwin 25.3.0 vs GitHub's 25.4.0) and fails to compile dom/webauthn (prf property absent). macOS already builds fastest, so no loss.

Change

  • runs-on: ubuntu-24.04blacksmith-16vcpu-ubuntu-2404 (linux + windows).
  • The real win: lift ./mach build -j2-j$(nproc). The -j2 cap was a workaround for GitHub's 4-vCPU/16GB runner OOMing the link; a 16-vCPU/64GB Blacksmith runner doesn't need it.

Follow-up (not in this PR): drop the now-pointless disk-reclaim + 16GB-swapfile steps, add actions/cache@v5 for the source tarball + cargo.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

@tompassarelli tompassarelli merged commit 265313b into main Jun 19, 2026
1 of 2 checks passed
@tompassarelli tompassarelli deleted the ci/blacksmith-runners branch June 19, 2026 16:59
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