Merge pull request #45 from martin-g/linux-arm64-support #104
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NINJA CI | |
on: [pull_request, push] | |
jobs: | |
check: | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: make check | |
run: make check | |
build-aarch64: | |
name: Build on Linux ARM64 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout bwa | |
uses: actions/checkout@v4 | |
- name: Build | |
uses: uraimo/run-on-arch-action@v2 | |
with: | |
arch: aarch64 | |
distro: ubuntu22.04 | |
githubToken: ${{ github.token }} | |
dockerRunArgs: | | |
--volume "${PWD}:/NINJA" | |
install: | | |
apt-get update -q -y | |
apt-get install -q -y make gcc g++ | |
run: | | |
cd /NINJA | |
make check | |