From f64615d413354c9604a16850ba421ce22b57f5f6 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Mon, 3 Nov 2025 16:30:44 +0100 Subject: [PATCH] arm64 runner added --- .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5771d29..83ad5f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,6 +116,39 @@ jobs: name: runner-linux path: bin/* + build-arm64: + needs: [build_stencils] + runs-on: ubuntu-22.04-arm64 + + strategy: + matrix: + python-version: ["3.10"] + + steps: + - name: Check out code + uses: actions/checkout@v4 + + - uses: actions/download-artifact@v4 + with: + name: stencil-object-files + path: src/copapy/obj + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install Python dependencies + run: python -m pip install -e .[dev] + + - name: Compile coparun + run: | + mkdir -p bin + gcc -O3 -DENABLE_BASIC_LOGGING -o bin/coparun src/coparun/runmem.c src/coparun/coparun.c src/coparun/mem_man.c + + - name: Run tests with pytest + run: pytest + build-windows: needs: [build_stencils] runs-on: windows-latest