From d4b4b44dd0d1ff662ecbd6f9b2b5b75f75f99579 Mon Sep 17 00:00:00 2001 From: Giovanni Barillari Date: Thu, 12 Oct 2023 18:47:23 +0200 Subject: [PATCH] debug CI --- .github/workflows/build.yml | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a14016..d7f1203 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,17 +3,17 @@ name: build on: workflow_dispatch env: - MATURIN_VERSION: 1.2.3 + MATURIN_VERSION: 1.3.0 PY_ALL: 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 pypy3.10 jobs: - wheel-unix: + wheels: name: wheel ${{ matrix.platform || matrix.os }}(${{ matrix.target }}) - ${{ matrix.manylinux || 'auto' }} runs-on: ${{ matrix.os }}-latest strategy: fail-fast: false matrix: - os: [ubuntu, macos] + os: [ubuntu, macos, windows] target: [x86_64, aarch64] manylinux: [auto] include: @@ -33,11 +33,16 @@ jobs: platform: linux target: aarch64 manylinux: musllinux_1_1 + - os: windows + interpreter: '3.12' exclude: - os: windows target: aarch64 steps: - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.12' - uses: pyo3/maturin-action@v1 with: maturin-version: v${{ env.MATURIN_VERSION }} @@ -51,20 +56,3 @@ jobs: with: name: wheels path: target/wheels - - wheel-win: - runs-on: windows-latest - steps: - - uses: actions/checkout@v3 - - uses: pyo3/maturin-action@v1 - with: - maturin-version: v${{ env.MATURIN_VERSION }} - command: build - args: --release --interpreter ${{ env.PY_ALL }} - target: x86_64 - manylinux: auto - - name: Upload wheels - uses: actions/upload-artifact@v3 - with: - name: wheels - path: target/wheels