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
GitHub action fails on linux/arm64 host #1564
Comments
@sixlettervariables from recollection there was some issues with the build on linux/arm64 so i think its going to be a bit more involved than just adding a new build target. Let me take a look and get back to you. |
Just an update on this as expected just adding the target in go does not work.
This is because we use some C bindings so we cant just use golangs cross compile features. In theory it should be just a case of installing gcc tooling for arm64 for the linux build step but this doesnt seem to work either
Next step is probably trying to get this to build on a |
Interesting! So if we were to build Bearer on our hosted runner this may be workable? |
@sixlettervariables yeah using your own binary is probably the best option untill the build tooling is a bit more workable on github and we can get something working. I've managed to confrim you can actually build on linux/arm64 locally using docker on my M1 Mac so should be all good although there where some warnings:
|
Description & Reproduction
Our GitHub workflows run on linux/arm64 hosts in AWS and we're receiving the following error with the action:
Bearer/bearer info Checking dependencies... git version 2.34.1 Bearer/bearer crit platform linux/arm64 is not supported. Make sure this script is up-to-date and file request at https://github.com/Bearer/bearer/issues/new Error: Process completed with exit code 1.
Expected Behavior
A binary is available for linux/arm64 (I saw darwin/arm64 support).
Actual Behavior
Our linux/arm64 host is unsupported.
Possible Fix
Build for linux/arm64 as well.
Your Environment
The text was updated successfully, but these errors were encountered: