diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b018abd7..18db0ab5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,6 +8,7 @@ on: jobs: build: + name: Linux x86_64 runs-on: ubuntu-latest steps: @@ -16,3 +17,26 @@ jobs: - name: Build run: make -j allall + + build-aarch64: + name: Linux aarch64 + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Build on Linux ARM64 + uses: uraimo/run-on-arch-action@v2 + with: + arch: aarch64 + distro: ubuntu22.04 + githubToken: ${{ github.token }} + dockerRunArgs: | + --volume "${PWD}:/hisat2" + install: | + apt-get update -q -y + apt-get install -q -y make g++ + run: | + cd /hisat2 + make -j allall