Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building darwin arm64 binaries by default on CI and amd64 during releases #2166

Merged
merged 1 commit into from
May 24, 2024

Conversation

jjbustamante
Copy link
Member

@jjbustamante jjbustamante commented May 24, 2024

Summary

By default we will built darwin/arm64 binaries during CI and darwing/amd64 binaries during release, because the new macos runner is based on arm architecture

Output

Before

This is a image from our last PR before releasing 0.34.0-rc1 the macos binary is actually an arm64 binary instead of amd64

Screenshot 2024-05-24 at 10 40 41 AM

After

Now, we actually saved the binary as arm64 and the amd64 will be built later

Screenshot 2024-05-24 at 10 39 05 AM

Documentation

  • Should this change be documented?
    • Yes, see #___
    • No

Related

Resolves #2167

Signed-off-by: Juan Bustamante <jbustamante@vmware.com>
@github-actions github-actions bot added this to the 0.34.0 milestone May 24, 2024
@github-actions github-actions bot added the type/chore Issue that requests non-user facing changes. label May 24, 2024
@jjbustamante jjbustamante marked this pull request as ready for review May 24, 2024 15:43
@jjbustamante jjbustamante requested review from a team as code owners May 24, 2024 15:43
@jjbustamante jjbustamante merged commit b8f5fc8 into main May 24, 2024
18 checks passed
@jjbustamante jjbustamante deleted the chore/fix-macos-binaries branch May 24, 2024 16:07
Comment on lines +26 to +27
# since macos-14 the latest runner is arm64
os: macos-arm64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we be certain that we'll always land on a macos-14 runner? Is it deterministic?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, until the latest runner is updated I think the answer is yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/chore Issue that requests non-user facing changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publishing wrong architecture for macos intel binaries
2 participants