Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

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 6e244de
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 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,11 +33,17 @@ jobs:
platform: linux
target: aarch64
manylinux: musllinux_1_1
- os: windows
# FIXME: 3.12 on GHA with win seems broken
interpreter: 3.8 3.9 3.10 3.11 pypy3.8 pypy3.9 pypy3.10
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 }}
Expand All @@ -52,17 +58,20 @@ jobs:
name: wheels
path: target/wheels

wheel-win:
# FIXME: 3.12 on GHA with win seems broken
wheels-win312:
runs-on: windows-latest
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 }}
command: build
args: --release --interpreter ${{ env.PY_ALL }}
args: --release --interpreter 3.12
target: x86_64
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 6e244de

Please sign in to comment.