mirror of https://github.com/Nonannet/copapy.git
arm64 runner added
This commit is contained in:
parent
1c7ce32108
commit
f64615d413
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue