garble icon indicating copy to clipboard operation
garble copied to clipboard

CI: test on GOARCH=arm64

Open mvdan opened this issue 4 years ago • 3 comments

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.

mvdan avatar Dec 30 '21 22:12 mvdan

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

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

lu4p avatar Dec 31 '21 17:12 lu4p

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 avatar Dec 31 '21 18:12 mvdan

https://github.com/burrowers/garble/issues/426 made CI test on GOARCH=386; repurposing this to be about testing on arm64.

mvdan avatar Jan 19 '22 09:01 mvdan