Skip to content

Commit

Permalink
build for python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Anexen committed Oct 13, 2024
1 parent 9f167ae commit 3836073
Showing 1 changed file with 7 additions and 21 deletions.
28 changes: 7 additions & 21 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,37 +99,23 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
needs: test
strategy:
fail-fast: false
matrix:
python:
- version: '3.7'
abi: cp37-cp37m
- version: '3.8'
abi: cp38-cp38
- version: '3.9'
abi: cp39-cp39
- version: '3.10'
abi: cp310-cp310
- version: '3.11'
abi: cp311-cp311
- version: '3.12'
abi: cp312-cp312
- version: '3.13'
abi: cp313-cp313
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
target: [aarch64, armv7, s390x, ppc64le, ppc64]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Build Wheels
uses: PyO3/maturin-action@v1
env:
PYO3_CROSS_LIB_DIR: /opt/python/${{ matrix.python.abi }}/lib
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- uses: PyO3/maturin-action@v1
with:
maturin-version: ${{ env.MATURIN_VERSION }}
target: ${{ matrix.target }}
manylinux: auto
args: --release --strip -i python${{ matrix.python.version }}
- name: Upload wheels
uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.target }}-${{ matrix.python.version }}
path: target/wheels
Expand Down

0 comments on commit 3836073

Please sign in to comment.