Merge pull request #367 from martin-g/github-actions-linux-aarch64
Add CI job for Ubuntu 20.04 aarch64
This commit is contained in:
commit
e000ecbf45
|
|
@ -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 }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue