Skip to content

ci(release)!: build each target in its own job, drop Intel macOS - #331

Merged
sweepies merged 2 commits into
mainfrom
ci/release-build-split
Nov 15, 2026
Merged

sweepies merged 2 commits into
mainfrom
ci/release-build-split

Conversation

@sweepies

@sweepies sweepies commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

The v0.9.0 release spent 31 minutes in Build (macOS): 7m24s installing every workspace tool (including compiling cargo:nu-lint from source) and 23m16s building both targets one after the other. Build (Linux) took 16 minutes for the same reason.

  • One job per target, side by side: linux-x64-musl on ubuntu-latest, linux-arm64-musl on ubuntu-24.04-arm, darwin-arm64 on macos-26. Each job runs the binary it built to generate the man page and completions.
  • Intel macOS is dropped. It isn't supported, so there is no darwin-x64 build or smoke test any more, and the installation page says so.
  • Only the packaging tools are installed: MISE_ENABLE_TOOLS: rust,mr-boxington,zig,nu,usage.
  • The image job downloads dist-linux-* and merges it.
  • Release builds still restore no cache.

Expected result: the build stage goes from about 31 minutes to about 12.

This PR's own run checks the Linux half, because pull requests run the release workflow's Linux builds and the image. The darwin-arm64 job runs only on a tag.

…kaging uses

The macOS job installed every workspace tool, compiling nu-lint from source
(7 min), then built both targets in turn (23 min). Each target now builds on
its own runner in parallel, and the build installs only rust, mr-boxington,
zig, nu and usage. darwin-x64 cross-builds on Apple silicon and runs its binary
under Rosetta to generate the man page and completions.
Intel Macs are not supported: releases build darwin-arm64 only, and the
installation page says so.
@sweepies sweepies changed the title ci(release): build each target in its own job with only the tools packaging uses ci(release)!: build each target in its own job, drop Intel macOS Nov 15, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
count-patchula 78a6534 Commit Preview URL

Branch Preview URL
Nov 15 2026, 02:01 AM

@sweepies
sweepies merged commit ee550e0 into main Nov 15, 2026
19 checks passed
@sweepies
sweepies deleted the ci/release-build-split branch November 15, 2026 02:12
This was referenced Nov 15, 2026
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