Restore original script.
@@ -3,28 +3,20 @@ name: aarch64-test
on: [push]
jobs:
- aarch64_job:
- # The host should always be Linux
- runs-on: ubuntu-18.04
- name: Build on alpine aarch64
- steps:
- - uses: actions/checkout@v1
- - uses: uraimo/run-on-arch-action@v2.1.0
- name: make test
- id: test
- with:
- arch: aarch64
- distro: fedora_latest
+ test:
+
+ # The host should always be linux
+ runs-on: ubuntu-latest
+ name: Build on ${{ matrix.distro }} ${{ matrix.arch }}
- # Not required, but speeds up builds by storing container images in
- # a GitHub package registry.
- githubToken: ${{ github.token }}
+ # Run steps on a matrix of 3 arch/distro combinations
+ strategy:
+ matrix:
+ include:
+ - arch: aarch64
+ distro: fedora-latest
- # Set an output parameter `uname` for use in subsequent steps
- run: |
- uname -a
- echo 'fastestmirror=1' | tee -a /etc/dnf/dnf.conf
- echo 'check_config_file_age=False' | tee -a /etc/dnf/dnf.conf
- echo 'metadata_expire=-1' | tee -a /etc/dnf/dnf.conf
- dnf -y -q install gcc make
- make test
+ steps:
+ - uses: actions/checkout@v1
+ - name: make test
+ run: make test
