From 731ea565d0e3e634e0abc2292e7d5806c86d0237 Mon Sep 17 00:00:00 2001 From: b-vanstraat Date: Fri, 5 Apr 2024 11:47:04 +0100 Subject: [PATCH] updating workflow --- .github/workflows/CI.yml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index df1019c..b15dc54 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -59,8 +59,8 @@ jobs: name: wheels path: dist - macos: - runs-on: macos-latest + macos14: + runs-on: macos-14 strategy: matrix: python-version: ['3.10', '3.11', '3.12'] @@ -85,6 +85,32 @@ jobs: name: wheels path: dist + macos13: + runs-on: macos-13 + strategy: + matrix: + python-version: [ '3.10', '3.11', '3.12' ] + target: [ aarch64 ] + steps: + - name: Set C++ Standard Library + run: export CXXFLAGS="-stdlib=libc++" + + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Build wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.target }} + args: --release --out dist --find-interpreter + sccache: 'true' + - name: Upload wheels + uses: actions/upload-artifact@v3 + with: + name: wheels + path: dist + sdist: runs-on: ubuntu-latest steps: