Skip to content

Conversation

@CalvinAllen
Copy link
Contributor

Summary

  • Replace deprecated macos-13 runner with macos-15 (ARM64) for both macOS platforms
  • Use arch -x86_64 (Rosetta 2) for darwin-amd64 builds to cross-compile x86_64 binaries on ARM64 runners
  • Add architecture verification step to confirm the built binary is the expected x86_64 architecture
  • Split the single Unix build step into platform-specific steps (Linux, macOS ARM64, macOS x86_64 via Rosetta)

Test plan

  • Dispatch build-ruby-from-source workflow and verify darwin-amd64 builds succeed on macos-15 via Rosetta
  • Verify darwin-arm64 builds still work on macos-15
  • Verify architecture check step confirms x86_64 for darwin-amd64 builds

macos-13 runners have been deprecated. Use macos-15 (ARM64) for both
macOS platforms, with `arch -x86_64` (Rosetta 2) for darwin-amd64
cross-compilation. Add architecture verification step to confirm the
built binary is x86_64.
@CalvinAllen CalvinAllen merged commit dd2fd89 into main Feb 9, 2026
2 checks passed
@CalvinAllen CalvinAllen deleted the fix/ci/ruby-build-runners branch February 9, 2026 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant