Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: pin macos-13 as os for building amd64 binary #160

Merged
merged 1 commit into from
Apr 28, 2024

Conversation

olastor
Copy link
Contributor

@olastor olastor commented Apr 28, 2024

I've been looking at your CI build config because I am currently trying to figure out a multi-arch go build that uses libfido2 and spotted one subtle issue that could affect the amd64 build of future versions in this project.

The config uses "macos-latest" os for building the x86_64 version which currently defaults to "macos-14". This os seems to create only arm64 binaries (I don't know too much about mac architecture). It seems that at the time of the last release the default was "macos-12" (checked the wayback machine on the github docs). So the increase of the default would probably cause the x86_64 binaries in the next release to actually be arm64. Pinning the version to "macos-13" seems to fix that.

@quexten
Copy link
Owner

quexten commented Apr 28, 2024

Nice catch! Thanks for the PR.

@quexten quexten merged commit bbafde0 into quexten:main Apr 28, 2024
10 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants