aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2025-09-12 04:50:51 +0800
committer简律纯 <i@jyunko.cn>2025-09-12 04:50:51 +0800
commitb5d9371d47f5e9b5789f746241eaa5bd4222314d (patch)
treec167ca8fb586c049996fceb0986939e14711bc7a /.github
parentd7cf805e28199012575f3cdc50ae2f549be1b30f (diff)
downloadOneRoll-b5d9371d47f5e9b5789f746241eaa5bd4222314d.tar.gz
OneRoll-b5d9371d47f5e9b5789f746241eaa5bd4222314d.zip
chore: update CI configuration for maturin v1.8.6 and enhance wheel building steps
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/CI.yml43
1 files changed, 41 insertions, 2 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 34d6b29..8893043 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -1,4 +1,4 @@
-# This file is autogenerated by maturin v1.8.2
+# This file is autogenerated by maturin v1.8.6
# To update, run
#
# maturin generate-ci github
@@ -38,6 +38,9 @@ jobs:
target: ppc64le
steps:
- uses: actions/checkout@v4
+ - uses: actions/setup-python@v5
+ with:
+ python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
@@ -45,6 +48,13 @@ jobs:
args: --release --out dist
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: auto
+ - name: Build free-threaded wheels
+ uses: PyO3/maturin-action@v1
+ with:
+ target: ${{ matrix.platform.target }}
+ args: --release --out dist -i python3.13t
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
+ manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
@@ -66,6 +76,9 @@ jobs:
target: armv7
steps:
- uses: actions/checkout@v4
+ - uses: actions/setup-python@v5
+ with:
+ python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
@@ -73,6 +86,13 @@ jobs:
args: --release --out dist
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: musllinux_1_2
+ - name: Build free-threaded wheels
+ uses: PyO3/maturin-action@v1
+ with:
+ target: ${{ matrix.platform.target }}
+ args: --release --out dist -i python3.13t
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
+ manylinux: musllinux_1_2
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
@@ -90,12 +110,22 @@ jobs:
target: x86
steps:
- uses: actions/checkout@v4
+ - uses: actions/setup-python@v5
+ with:
+ python-version: 3.x
+ architecture: ${{ matrix.platform.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
+ - name: Build free-threaded wheels
+ uses: PyO3/maturin-action@v1
+ with:
+ target: ${{ matrix.platform.target }}
+ args: --release --out dist -i python3.13t
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
@@ -113,12 +143,21 @@ jobs:
target: aarch64
steps:
- uses: actions/checkout@v4
+ - uses: actions/setup-python@v5
+ with:
+ python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
+ - name: Build free-threaded wheels
+ uses: PyO3/maturin-action@v1
+ with:
+ target: ${{ matrix.platform.target }}
+ args: --release --out dist -i python3.13t
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
@@ -155,7 +194,7 @@ jobs:
steps:
- uses: actions/download-artifact@v4
- name: Generate artifact attestation
- uses: actions/attest-build-provenance@v1
+ uses: actions/attest-build-provenance@v2
with:
subject-path: 'wheels-*/*'
- name: Publish to PyPI