Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Generate MacOS arm64 CLI binary in addition to x64 binary#464

Merged
jdubois merged 2 commits intomicrosoft:mainfrom
cedricvidal:features/460-cli-macos-cpu-arch-m1
Oct 6, 2023
Merged

Generate MacOS arm64 CLI binary in addition to x64 binary#464
jdubois merged 2 commits intomicrosoft:mainfrom
cedricvidal:features/460-cli-macos-cpu-arch-m1

Conversation

@cedricvidal
Copy link
Contributor

@cedricvidal cedricvidal commented Oct 6, 2023

Fixes #460

Github just released a new Apple Silicon M1 runner we can use to compile natively to arm64:
https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/

This PR adds the macos-latest-xlarge runner to the matrix which compiles an arm64 binary that can natively be run on Apple Silicon without Rosetta.

It keeps the previous binary name nubesgen-cli-macos for x64 and introduces the new nubesgen-cli-macos-arm64 binary name for Apple Silicon.

@cedricvidal cedricvidal changed the title Trying macos-latest-xlarge Generate MacOS arm64 cli binary Oct 6, 2023
- Keeping backward compatible binary name for x64
- Using `macos-latest-xlarge` runner for arm64
@cedricvidal cedricvidal force-pushed the features/460-cli-macos-cpu-arch-m1 branch from f174d68 to 1965cb1 Compare October 6, 2023 04:14
@cedricvidal cedricvidal changed the title Generate MacOS arm64 cli binary Generate MacOS arm64 cli binary in addition to x64 binary Oct 6, 2023
@cedricvidal cedricvidal changed the title Generate MacOS arm64 cli binary in addition to x64 binary Generate MacOS arm64 CLI binary in addition to x64 binary Oct 6, 2023
@cedricvidal cedricvidal marked this pull request as ready for review October 6, 2023 04:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] MacOS binary CPU architecture incompatible with Apple Silicon M2

2 participants