diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b77bc16..8eb2f06 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 }}