Add CI job for Ubuntu 20.04 aarch64

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
This commit is contained in:
Martin Tzvetanov Grigorov 2022-08-10 14:59:32 +03:00
parent f89e937d34
commit 370bd3ca25
1 changed files with 26 additions and 1 deletions

View File

@ -15,7 +15,32 @@ jobs:
steps: steps:
- name: Checkout bwa - name: Checkout bwa
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Compile with ${{ matrix.compiler }} - name: Compile with ${{ matrix.compiler }}
run: make CC=${{ matrix.compiler }} run: make CC=${{ matrix.compiler }}
build-aarch64:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc, clang]
steps:
- name: Checkout bwa
uses: actions/checkout@v3
- name: Compile with ${{ matrix.compiler }}
uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: ubuntu20.04
githubToken: ${{ github.token }}
dockerRunArgs: |
--volume "${PWD}:/bwa"
install: |
apt-get update -q -y
apt-get install -q -y make ${{ matrix.compiler }} zlib1g-dev
run: |
cd /bwa
make CC=${{ matrix.compiler }}