aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2025-03-15 14:15:13 +0800
committerGitHub <noreply@github.com>2025-03-15 14:15:13 +0800
commiteb00c504f1fae5f0301adf25011e98cbb78cc79d (patch)
treec6971c11999467e4009e99e8fb5ec7c85e47c529 /.github
parentee15a8b3174048f1c9f7f53a51d1e5b7a2410054 (diff)
parenteeef7f3ed7209c5f6b8e101d132a91e372a7dd6d (diff)
downloadconventional_role_play-eb00c504f1fae5f0301adf25011e98cbb78cc79d.tar.gz
conventional_role_play-eb00c504f1fae5f0301adf25011e98cbb78cc79d.zip
Merge branch 'main' into main
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..177ee90 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -38,6 +38,9 @@ jobs:
target: ppc64le
steps:
- uses: actions/checkout@v4
+ - uses: actions/setup-python@v5
+ with:
+ python-version: 3.9
- 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
+ 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.9
- 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
+ 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.9
+ 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
+ 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.9
- 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
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
@@ -162,7 +201,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: PyO3/maturin-action@v1
env:
- MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
+ MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
with:
command: upload
- args: --non-interactive --skip-existing wheels-*/*
+ args: --non-interactive --skip-existing wheels-*/* \ No newline at end of file