One more script for aarch64.
-name: aarch64-test
-
on: [push]
jobs:
- test:
-
- # The host should always be linux
- runs-on: ubuntu-latest
- name: Build on ${{ matrix.distro }} ${{ matrix.arch }}
-
- # Run steps on a matrix of 3 arch/distro combinations
- strategy:
- matrix:
- include:
- - arch: aarch64
- distro: fedora-latest
-
+ aarch64_job:
+ # The host should always be Linux
+ runs-on: ubuntu-18.04
+ name: Build on ubuntu-18.04 aarch64
steps:
- uses: actions/checkout@v1
- - name: make test
+ - uses: uraimo/run-on-arch-action@v2.1.0
+ name: make test
+ id: test
+ with:
+ arch: aarch64
+ distro: fedora_latest
+
+ # Not required, but speeds up builds by storing container images in
+ # a GitHub package registry.
+ githubToken: ${{ github.token }}
+
+ # Set an output parameter `uname` for use in subsequent steps
run: |
uname -a
make test
