I was reading this documentation on how to select the runner for a job in a GitHub workflow.
However, is there a way to select the architecture as well, such as in a strategy matrix? My workflow builds my project and then runs tests. I'd like it to run on linux/i386
as well as linux/amd64
.
As of now, all the GitHub-hosted runners only support x86_64
architecture.
See Supported runners and hardware resources.
Even for self-hosted runners, only these architectures are supported:
x64
- Linux, macOS, Windows.ARM64
- Linux, macOS, Windows (currently in beta).ARM32
- Linux.x86
binaries should run just fine on x64
runners. However, you may use Docker images for your tests.