Skip to content

Commit

Permalink
debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gi0baro committed Oct 12, 2023
1 parent 0114c9a commit c2b18f5
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -33,6 +33,9 @@ jobs:
platform: linux
target: aarch64
manylinux: musllinux_1_1
- os: windows
# NOTE: GHA with win have some broken py distros, see `wheels-win-custompy`
interpreter: 3.8 3.9 3.10 3.11
exclude:
- os: windows
target: aarch64
Expand All @@ -52,17 +55,25 @@ jobs:
name: wheels
path: target/wheels

wheel-win:
# NOTE: GHA with win have some broken py distros
wheels-win-custompy:
name: wheel win(x86_64) - ${{ matrix.interpreter }}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
interpreter: ["3.12", "pypy3.8", "pypy3.9", "pypy3.10"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.interpreter }}
- uses: pyo3/maturin-action@v1
with:
maturin-version: v${{ env.MATURIN_VERSION }}
command: build
args: --release --interpreter ${{ env.PY_ALL }}
args: --release --interpreter ${{ matrix.interpreter }}
target: x86_64
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit c2b18f5

Please sign in to comment.