Writing this up specifically from the perspective of RAPIDS. This would be helpful (but not critical) for https://github.com/rapidsai/docker/issues/667, as RAPIDS builds both amd64 and arm64 images there and it's helpful to run those images on amd64 and arm64 runners directly (instead of using emulation).
Description
For Linux, this project is currently only publishing
amd64
binaries on releases.We should consider also publishing
arm64
binaries.Benefits of this work
arm64
Linux environmentThat would be useful because it allows use of this project without needing to set up Go and do
go install
.Acceptance Criteria
canary_linux_arm64
binaryApproach
As described in https://www.digitalocean.com/community/tutorials/building-go-applications-for-different-operating-systems-and-architectures#using-your-local-goos-and-goarch-environment-variables, Go has builtin support for cross-compiling, so I think this should be achievable on the GitHub-hosted
ubuntu-latest
runner, without requiring anarm64
runner.Like this:
Notes
Writing this up specifically from the perspective of RAPIDS. This would be helpful (but not critical) for https://github.com/rapidsai/docker/issues/667, as RAPIDS builds both
amd64
andarm64
images there and it's helpful to run those images onamd64
andarm64
runners directly (instead of using emulation).