Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

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 Replies
Copilot Lvl 3
Message 2 of 3

Re: Does GitHub Actions support multiple OS architectures?

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.

 

Copilot Lvl 3
Message 3 of 3

Re: Does GitHub Actions support multiple OS architectures?

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.