-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build free-threaded wheels for python3.13t (#66)
- Loading branch information
Showing
4 changed files
with
68 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,19 +17,19 @@ jobs: | |
python-version: 3.12 | ||
architecture: x64 | ||
- uses: dtolnay/rust-toolchain@nightly | ||
- name: Build wheels - x86_64 | ||
- name: Build wheels | ||
uses: messense/maturin-action@v1 | ||
with: | ||
target: x86_64 | ||
args: --release --out dist --sdist | ||
target: universal2-apple-darwin | ||
args: --release --out dist | ||
sccache: true | ||
- name: Build wheels - universal2 | ||
- name: Build free-threaded wheels | ||
uses: messense/maturin-action@v1 | ||
with: | ||
target: universal2-apple-darwin | ||
args: --release --out dist | ||
args: --release --out dist -i python3.13t | ||
sccache: true | ||
- name: Install built wheel - universal2 | ||
- name: Install built wheel | ||
run: | | ||
pip install nh3 --no-index --find-links dist --force-reinstall | ||
pip install pytest | ||
|
@@ -57,6 +57,11 @@ jobs: | |
with: | ||
target: ${{ matrix.target }} | ||
args: --release --out dist | ||
- name: Build free-threaded wheels | ||
uses: messense/maturin-action@v1 | ||
with: | ||
target: ${{ matrix.target }} | ||
args: --release --out dist -i python3.13t | ||
- name: Install built wheel | ||
run: | | ||
pip install nh3 --no-index --find-links dist --force-reinstall | ||
|
@@ -87,6 +92,14 @@ jobs: | |
manylinux: auto | ||
args: --release --out dist | ||
sccache: true | ||
- name: Build free-threaded wheels | ||
uses: messense/maturin-action@v1 | ||
with: | ||
rust-toolchain: nightly | ||
target: ${{ matrix.target }} | ||
manylinux: auto | ||
args: --release --out dist -i python3.13t | ||
sccache: true | ||
- name: Install built wheel | ||
if: matrix.target == 'x86_64' | ||
run: | | ||
|
@@ -117,6 +130,14 @@ jobs: | |
manylinux: auto | ||
args: --release --out dist | ||
sccache: true | ||
- name: Build free-threaded wheels | ||
uses: messense/maturin-action@v1 | ||
with: | ||
rust-toolchain: nightly | ||
target: ${{ matrix.target }} | ||
manylinux: auto | ||
args: --release --out dist -i python3.13 | ||
sccache: true | ||
- uses: uraimo/[email protected] | ||
if: matrix.target != 'ppc64' | ||
name: Install built wheel | ||
|
@@ -157,6 +178,13 @@ jobs: | |
manylinux: musllinux_1_2 | ||
args: --release --out dist | ||
sccache: true | ||
- name: Build free-threaded wheels | ||
uses: messense/maturin-action@v1 | ||
with: | ||
target: ${{ matrix.target }} | ||
manylinux: musllinux_1_2 | ||
args: --release --out dist -i python3.13t | ||
sccache: true | ||
- name: Install built wheel | ||
if: matrix.target == 'x86_64-unknown-linux-musl' | ||
uses: addnab/docker-run-action@v3 | ||
|
@@ -197,6 +225,13 @@ jobs: | |
manylinux: musllinux_1_2 | ||
args: --release --out dist | ||
sccache: true | ||
- name: Build free-threaded wheels | ||
uses: messense/maturin-action@v1 | ||
with: | ||
target: ${{ matrix.platform.target }} | ||
manylinux: musllinux_1_2 | ||
args: --release --out dist -i python3.13t | ||
sccache: true | ||
- uses: uraimo/[email protected] | ||
name: Install built wheel | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ build: | |
os: "ubuntu-22.04" | ||
tools: | ||
python: "3.12" | ||
rust: "1.70" | ||
rust: "1.82" | ||
|
||
python: | ||
install: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters