Skip to content

Add Mac ARM64 binary release to GitHub Actions workflow#14

Merged
rbuckland merged 3 commits intomainfrom
copilot/fix-cf898993-77a1-4e39-bb8e-e5c8adece738
Aug 21, 2025
Merged

Add Mac ARM64 binary release to GitHub Actions workflow#14
rbuckland merged 3 commits intomainfrom
copilot/fix-cf898993-77a1-4e39-bb8e-e5c8adece738

Conversation

Copy link
Contributor

Copilot AI commented Aug 21, 2025

This PR adds support for building and releasing Mac ARM64 (Apple Silicon) binaries alongside the existing releases.

Changes

Added a new matrix entry to the rust-build-release.yml workflow that:

  • Uses the macos-14 runner which runs natively on Apple Silicon (ARM64)
  • Builds the madato binary for ARM64 architecture
  • Releases it as madato-macos-arm64

Before

The workflow only built 3 binaries on release:

  • madato-linux-amd64 (Ubuntu)
  • madato-windows-amd64 (Windows)
  • madato-macos-amd64 (macOS Intel)

After

The workflow now builds 4 binaries on release:

  • madato-linux-amd64 (Ubuntu)
  • madato-windows-amd64 (Windows)
  • madato-macos-amd64 (macOS Intel)
  • madato-macos-arm64 (macOS Apple Silicon) ← NEW

Implementation Details

The solution uses GitHub's native macos-14 runners which run on Apple Silicon hardware, eliminating the need for cross-compilation setup. This approach is:

  • Minimal: Only 3 lines added to the workflow
  • Reliable: Native compilation instead of cross-compilation
  • Consistent: Follows the same build pattern as existing targets

This ensures users with Apple Silicon Macs get optimized native binaries when downloading releases.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: rbuckland <1148383+rbuckland@users.noreply.github.com>
Copilot AI changed the title [WIP] add a binary release for mac arm64 in the github action workflow Add Mac ARM64 binary release to GitHub Actions workflow Aug 21, 2025
Copilot AI requested a review from rbuckland August 21, 2025 12:05
rev pyo3 versions
@rbuckland rbuckland marked this pull request as ready for review August 21, 2025 12:12
@rbuckland rbuckland merged commit aee31e9 into main Aug 21, 2025
12 checks passed
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