Repository navigation
ci(release): build Intel macOS on macos-latest (retired macos-13 runners) - #15
Merged
Merged
Conversation
…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>
There was a problem hiding this comment.
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-13matrix entry forx86_64-apple-darwinwithmacos-latest. - Adds an inline comment explaining the retirement of Intel
macos-13runners and the cross-compilation approach.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
The
x86_64-apple-darwinmatrix entry inrelease.ymlpinnedos: macos-13. GitHub has retired the macos-13 Intel runners, so that job sits queued forever — thev0.2.0andv0.2.1release runs each completed 3/4 builds and hung on the Intel-Mac job. As a result, published releases are missing theslice-x86_64-apple-darwin.tar.gzarchive.Fix
Build the Intel target by cross-compiling on the arm64
macos-latestrunner. Thedtolnay/rust-toolchainstep already installstargets: ${{ matrix.target }}, socargo build --target x86_64-apple-darwinproduces an Intel binary on the arm64 runner — no Intel runner needed. One-line change (plus a comment).Scope
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.🤖 Generated with Claude Code