8000 Fix releaser.yaml and ci.yml file on macos by jkl73 · Pull Request #444 · google/go-tpm-tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix releaser.yaml and ci.yml file on macos #444

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

Merged
merged 1 commit into from
May 7, 2024
Merged

Conversation

jkl73
Copy link
Contributor
@jkl73 jkl73 commented Apr 27, 2024

Root cause:
macos-latest no longer gives us an amd64 machine to build and run our test (even if we ask for an amd64 machine specifically, I tested using uname, and it's still a arm64 mac)

https://github.com/actions/runner-images/tree/main

Changes:

  • Specifically add macos-latest/arm64 to the build/test

  • Add macos-14-large which supports amd64

  • Adding openssl lib location (homebrew) for darwin/arm64

  • Remove macos-latest from releaser file, as we don't need to run the releaser in different OSes. And since gotpm binary doesn't need the simulator CGO support, the linux should handle the cross compilation for all platform/arch when doing the release. This should also fix the error when we creating a release (because we were trying to release the same binary twice)

@jkl73 jkl73 force-pushed the fixreleaseci branch 2 times, most recently from 931853e to ab4b5ed Compare April 27, 2024 01:42
@jkl73 jkl73 force-pushed the fixreleaseci branch 12 times, most recently from 3f8405f to 07ed83c Compare May 7, 2024 01:38
@jkl73
Copy link
Contributor Author
jkl73 commented May 7, 2024

/gcbrun

@jkl73 jkl73 requested a review from alexmwu May 7, 2024 02:22
@jkl73 jkl73 changed the title Fix releaser.yaml file Fix releaser.yaml file on macos May 7, 2024
@jkl73 jkl73 changed the title Fix releaser.yaml file on macos Fix releaser.yaml and ci.yml file on macos May 7, 2024
Add openssl lib location for darwin arm64
@jkl73 jkl73 merged commit 9d80500 into google:main May 7, 2024
10 of 11 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
0