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

CI: test on GOARCH=arm64 #437

Open
mvdan opened this issue Dec 30, 2021 · 3 comments
Open

CI: test on GOARCH=arm64 #437

mvdan opened this issue Dec 30, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@mvdan
Copy link
Member

mvdan commented Dec 30, 2021

arm64 would be a good candidate, given how increasingly popular it's becoming on laptops and portable devices.

This means running go test ./... on GOARCH=arm64; it would act as the host architecture, and the tests would target the same architecture too.

For instance, I suspect testdata/scripts/asm.txt will fail, as it currently seems to assume amd64.

I'm not sure what would be the easiest way to do this right now. Perhaps qemu on linux.

@lu4p
Copy link
Member

lu4p commented Dec 31, 2021

Azure pipelines is free for OSS, supports arm64 and integrates with github well.

https://azure.microsoft.com/en-us/services/devops/pipelines/

@mvdan
Copy link
Member Author

mvdan commented Dec 31, 2021

Thanks for the pointer; perhaps that would be best, to avoid the complexity or overhead of qemu emulation. Happy to review a patch if someone wants to take a crack; I'm not particularly familiar with azure CI.

@mvdan
Copy link
Member Author

mvdan commented Jan 19, 2022

#426 made CI test on GOARCH=386; repurposing this to be about testing on arm64.

@mvdan mvdan changed the title CI: test on a non-amd64 architecture CI: test on GOARCH=arm64 Jan 19, 2022
@lu4p lu4p added the enhancement New feature or request label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants