Skip to content

fix(ci): switch macOS release builds to macos-latest native runners#18

Merged
ferhimedamine merged 1 commit into
mainfrom
fix/release-macos-native-build
Mar 30, 2026
Merged

fix(ci): switch macOS release builds to macos-latest native runners#18
ferhimedamine merged 1 commit into
mainfrom
fix/release-macos-native-build

Conversation

@ferhimedamine
Copy link
Copy Markdown
Contributor

Summary

  • macOS release builds (aarch64-apple-darwin, x86_64-apple-darwin) failing with xcrun: command not foundcargo-zigbuild requires the macOS SDK when cross-compiling from Linux
  • Switch both macOS targets from ubuntu-latest + cargo-zigbuildmacos-latest + native cargo build
  • Windows target (already on windows-latest) was only cancelled due to matrix fail-fast; will now succeed

Root Cause

cargo-zigbuild calls xcrun --sdk macosx --show-sdk-path to locate MacOSX.sdk — this tool only exists on macOS. Exit code 101 in v0.5.0 release run #23755682096.

Test Plan

  • CI passes on this PR
  • After merge, re-trigger v0.5.0 release binaries (delete+recreate the GitHub release, or re-run the release workflow)

🤖 Generated with Claude Code

cargo-zigbuild's macOS cross-compilation from Linux fails because xcrun
(used to locate MacOSX.sdk) is unavailable on Ubuntu. Switching to
macos-latest runners enables native compilation without SDK setup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ferhimedamine ferhimedamine added the auto-merge Auto-merge when CI passes label Mar 30, 2026
@ferhimedamine ferhimedamine merged commit dc75e4c into main Mar 30, 2026
4 checks passed
@ferhimedamine ferhimedamine deleted the fix/release-macos-native-build branch April 27, 2026 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Auto-merge when CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant