Does GitHub Actions support multiple OS architectures?

For example, is it possible to run jobs on 32-bit and 64-bit Ubuntu images? What about Ubuntu arm?

I’d imagine something like this.

strategy:
  matrix:
    os:
    - ubuntu-16.04-amd64
    - ubuntu-16.04-i386
    - ubuntu-18.04-arm8
runs-on: ${{matrix.os}}
2 Likes

Hi,

Linux github action runner is actually based on Azure VM, checke don offical doc, support as below:

https://help.github.com/en/articles/software-in-virtual-environments-for-github-actions

The website pointed out it used amd64.

I checked similar setting in Azure Devops pipeline, different with windows platforms, there is no build.platform to point out the cpu(x86 or x64), and even add it manually it doens’t work, only invoke amd64 version Ubuntu.

With all that in mind, it can not specify 32bit ubuntu image for the job in Github, the default is amd64.

1 Like

Travis CI recently added support for arm (https://blog.travis-ci.com/2019-10-07-multi-cpu-architecture-support) would be great to see this on GitHub Actions as well.

5 Likes

FWIW github actions (self hosted) supports arm/arm64

2 Likes