Skip to content

Commit

Permalink
Merge pull request lh3#367 from martin-g/github-actions-linux-aarch64
Browse files Browse the repository at this point in the history
Add CI job for Ubuntu 20.04 aarch64
  • Loading branch information
lh3 authored Sep 22, 2022
2 parents 2e603e4 + 94248a8 commit 139f68f
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,32 @@ jobs:

steps:
- name: Checkout bwa
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Compile with ${{ 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 }}

0 comments on commit 139f68f

Please sign in to comment.