Skip to content

ci: fix macOS x86_64 release build — cross-compile on macos-latest#2

Merged
TeoSlayer merged 1 commit into
mainfrom
fix/release-macos-x86_64-cross
Jul 13, 2026
Merged

ci: fix macOS x86_64 release build — cross-compile on macos-latest#2
TeoSlayer merged 1 commit into
mainfrom
fix/release-macos-x86_64-cross

Conversation

@TeoSlayer

Copy link
Copy Markdown
Contributor

Problem

All 3 release-workflow runs ever (v0.1.1–v0.1.3) were cancelled after 24h queue waits: the aegis-macos-x86_64 job targets macos-13, the last Intel runner image, which GitHub has retired. As a result release v0.1.3 has no aegis-macos-x86_64 asset and brew install pilot-protocol/tap/aegis is broken on Intel Macs.

Fix

  • The x86_64-apple-darwin job now runs on macos-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-toolchain already installs the target from the matrix.
  • The arm64 job moves macos-14macos-latest so 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

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>
@TeoSlayer
TeoSlayer merged commit a7573f4 into main Jul 13, 2026
2 checks passed
@TeoSlayer
TeoSlayer deleted the fix/release-macos-x86_64-cross branch July 13, 2026 07:52
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.

2 participants