Skip to content

ci(release): build Intel macOS on macos-latest (retired macos-13 runners) - #15

Merged
scodge-24 merged 1 commit into
mainfrom
ci/release-intel-mac-cross-compile
Jun 1, 2026
Merged

scodge-24 merged 1 commit into
mainfrom
ci/release-intel-mac-cross-compile

Conversation

@scodge-24

Copy link
Copy Markdown
Owner

Problem

The x86_64-apple-darwin matrix entry in release.yml pinned os: macos-13. GitHub has retired the macos-13 Intel runners, so that job sits queued forever — the v0.2.0 and v0.2.1 release runs each completed 3/4 builds and hung on the Intel-Mac job. As a result, published releases are missing the slice-x86_64-apple-darwin.tar.gz archive.

Fix

Build the Intel target by cross-compiling on the arm64 macos-latest runner. The dtolnay/rust-toolchain step already installs targets: ${{ matrix.target }}, so cargo build --target x86_64-apple-darwin produces an Intel binary on the arm64 runner — no Intel runner needed. One-line change (plus a comment).

Scope

  • Applies to future tags. It does not backfill v0.2.1's missing Intel binary — re-run the release job (or re-push the tag) after this merges if you want v0.2.1 complete.
  • CI/workflow only; no code or behavior change.

🤖 Generated with Claude Code

…acos-13

GitHub no longer schedules macos-13 Intel runners, so the x86_64-apple-darwin
build job hung queued indefinitely (the v0.2.0 and v0.2.1 release runs never
completed that job). Build the Intel target by cross-compiling on the arm64
macos-latest runner instead — the toolchain step already installs the target —
so releases get all four platform binaries again.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 1, 2026 11:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the release workflow to avoid using the retired macos-13 Intel runners by building the x86_64-apple-darwin artifact via cross-compilation on macos-latest, unblocking tagged releases and ensuring the Intel macOS tarball is produced.

Changes:

  • Replaces the macos-13 matrix entry for x86_64-apple-darwin with macos-latest.
  • Adds an inline comment explaining the retirement of Intel macos-13 runners and the cross-compilation approach.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@scodge-24
scodge-24 merged commit 91781ac into main Jun 1, 2026
2 checks passed
@scodge-24
scodge-24 deleted the ci/release-intel-mac-cross-compile branch June 1, 2026 11:04
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