Skip to content

Commit

Permalink
Upgrade pyo3 to 0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Dec 3, 2024
1 parent 4c9cba3 commit 365f5bd
Show file tree
Hide file tree
Showing 6 changed files with 354 additions and 214 deletions.
101 changes: 69 additions & 32 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
tags:
- 'v*'
- "v*"
pull_request:
workflow_dispatch:

Expand All @@ -17,16 +17,29 @@ jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: PyO3/maturin-action@v1
with:
manylinux: auto
args: --release --sdist -o dist --find-interpreter
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: |
3.8
3.9
3.10
3.11
3.12
3.13
- uses: PyO3/maturin-action@v1
with:
manylinux: auto
args: --release --sdist -o dist --find-interpreter
- uses: PyO3/maturin-action@v1
with:
manylinux: auto
args: --release -o dist -i python3.13t
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist

musllinux:
runs-on: ubuntu-latest
Expand All @@ -46,7 +59,7 @@ jobs:
with:
target: ${{ matrix.target }}
manylinux: musllinux_1_2
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12
args: --release --out dist --find-interpreter
sccache: true
- name: Install built wheel
if: matrix.target == 'x86_64-unknown-linux-musl'
Expand Down Expand Up @@ -86,7 +99,7 @@ jobs:
manylinux: musllinux_1_2
args: --release --out dist --find-interpreter
sccache: true
- uses: uraimo/run-on-arch-action@v2.3.0
- uses: uraimo/run-on-arch-action@v2.8.1
name: Install built wheel
with:
arch: ${{ matrix.platform.arch }}
Expand All @@ -107,29 +120,53 @@ jobs:
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: PyO3/maturin-action@v1
with:
args: --release -o dist --find-interpreter
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: |
3.8
3.9
3.10
3.11
3.12
3.13
- uses: PyO3/maturin-action@v1
with:
args: --release -o dist --find-interpreter
- uses: PyO3/maturin-action@v1
with:
args: --release -o dist -i python3.13t
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist

macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: PyO3/maturin-action@v1
with:
target: universal2-apple-darwin
args: --release -o dist --find-interpreter
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: |
3.8
3.9
3.10
3.11
3.12
3.13
- uses: PyO3/maturin-action@v1
with:
target: universal2-apple-darwin
args: --release -o dist --find-interpreter
- uses: PyO3/maturin-action@v1
with:
args: --release -o dist -i python3.13t
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist

release:
name: Release
Expand Down
Loading

0 comments on commit 365f5bd

Please sign in to comment.