ci: fix macOS x86_64 release build — cross-compile on macos-latest#2
Merged
Conversation
GitHub retired the macos-13 Intel runner image, so every release run since queued for 24h and got cancelled — v0.1.3 shipped without the aegis-macos-x86_64 asset the Homebrew formula needs on Intel Macs. The x86_64-apple-darwin job now cross-compiles on the arm64 macos-latest runner. All deps are pure Rust and the macOS SDK is universal, so `cargo build --target x86_64-apple-darwin` just works. The arm64 job moves from macos-14 to macos-latest to avoid the same retirement trap later. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Problem
All 3 release-workflow runs ever (v0.1.1–v0.1.3) were cancelled after 24h queue waits: the
aegis-macos-x86_64job targetsmacos-13, the last Intel runner image, which GitHub has retired. As a result release v0.1.3 has noaegis-macos-x86_64asset andbrew install pilot-protocol/tap/aegisis broken on Intel Macs.Fix
x86_64-apple-darwinjob now runs onmacos-latest(arm64) and cross-compiles with--target x86_64-apple-darwin. All dependencies are pure Rust and the macOS SDK is universal, so no extra toolchain setup is needed —dtolnay/rust-toolchainalready installs the target from the matrix.macos-14→macos-latestso it doesn't hit the same image-retirement trap next.No codesigning steps exist in this workflow, so nothing arch-specific to adjust there.
🤖 Generated with Claude Code