diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a14016..426b9a8 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,6 +33,8 @@ jobs: platform: linux target: aarch64 manylinux: musllinux_1_1 + - os: windows + interpreter: '3.11' exclude: - os: windows target: aarch64 @@ -51,20 +53,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