From 63a1b77569a6e8464732e2a74e9bfb7e28456bd2 Mon Sep 17 00:00:00 2001 From: Arjun Prasad Date: Tue, 28 Jan 2025 09:04:36 -0500 Subject: [PATCH] Test out adding an arm64 runner Not sure exactly how to do this, guessing based on https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories --- .github/workflows/linux-cpp.yml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux-cpp.yml b/.github/workflows/linux-cpp.yml index e453006..e9a5eaf 100644 --- a/.github/workflows/linux-cpp.yml +++ b/.github/workflows/linux-cpp.yml @@ -5,8 +5,7 @@ on: push: jobs: - build: - + x86_linux: runs-on: ubuntu-latest steps: @@ -28,3 +27,26 @@ jobs: ./* test/* retention-days: 14 + + x86_linux_arm: + runs-on: ubuntu-24.04-arm + + steps: + - uses: actions/checkout@v4 + - name: prerequisites + run: | + sudo apt-get update + sudo apt-get install -y ncbi-blast+ + - name: make + run: make + - name: test + run: ./test_stxtyper.sh + - name: Upload artifacts on failure + uses: actions/upload-artifact@v4 + if: ${{ failure() }} # only run if the job fails + with: + name: stxtyper-failed-test-linux + path: | + ./* + test/* + retention-days: 14