bump PyO3/maturin-action to 1.49.3 and add zig to linux builds (#166)

This commit is contained in:
Josh Thomas 2025-07-24 20:17:04 -05:00 committed by GitHub
parent 8ce8b24fed
commit ef896255fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 34 additions and 13 deletions

View file

@ -39,11 +39,11 @@ jobs:
python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@35be3186fc8e037e329f06b68dcd807d83dcc6dc # v1.49.2
uses: PyO3/maturin-action@e10f6c464b90acceb5f640d31beda6d586ba7b4a
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter --features extension-module
sccache: "true"
args: --release --out dist --find-interpreter --features extension-module --zig
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: auto
- name: Upload wheels
@ -75,10 +75,11 @@ jobs:
python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@35be3186fc8e037e329f06b68dcd807d83dcc6dc # v1.49.2
uses: PyO3/maturin-action@e10f6c464b90acceb5f640d31beda6d586ba7b4a
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter --features extension-module
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: musllinux_1_2
- name: Upload wheels
@ -107,11 +108,11 @@ jobs:
architecture: ${{ matrix.platform.target }}
- name: Build wheels
uses: PyO3/maturin-action@35be3186fc8e037e329f06b68dcd807d83dcc6dc # v1.49.2
uses: PyO3/maturin-action@e10f6c464b90acceb5f640d31beda6d586ba7b4a
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter --features extension-module
sccache: "true"
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@v4
@ -138,11 +139,11 @@ jobs:
python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@35be3186fc8e037e329f06b68dcd807d83dcc6dc # v1.49.2
uses: PyO3/maturin-action@e10f6c464b90acceb5f640d31beda6d586ba7b4a
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter --features extension-module
sccache: "true"
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@v4
@ -158,7 +159,7 @@ jobs:
persist-credentials: false
- name: Build sdist
uses: PyO3/maturin-action@35be3186fc8e037e329f06b68dcd807d83dcc6dc # v1.49.2
uses: PyO3/maturin-action@e10f6c464b90acceb5f640d31beda6d586ba7b4a
with:
command: sdist
args: --out dist

View file

@ -50,7 +50,7 @@ jobs:
subject-path: "wheels-*/*"
- name: Publish to PyPI
uses: PyO3/maturin-action@35be3186fc8e037e329f06b68dcd807d83dcc6dc # v1.49.2
uses: PyO3/maturin-action@e10f6c464b90acceb5f640d31beda6d586ba7b4a
with:
command: upload
args: --non-interactive --skip-existing wheels-*/*