Skip to content

Commit 10b432f

Browse files
authored
Added free-threaded builds. (#8)
1 parent 0424a73 commit 10b432f

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/release.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ jobs:
4242
manylinux: auto
4343
env:
4444
CFLAGS_aarch64_unknown_linux_gnu: ${{ matrix.platform.target == 'aarch64' && '-D__ARM_ARCH=8' || '' }}
45+
- name: Build free-threaded wheels
46+
uses: PyO3/maturin-action@v1
47+
with:
48+
target: ${{ matrix.platform.target }}
49+
args: --release --out dist -i python3.14t
50+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
51+
manylinux: auto
52+
env:
53+
CFLAGS_aarch64_unknown_linux_gnu: ${{ matrix.platform.target == 'aarch64' && '-D__ARM_ARCH=8' || '' }}
4554
- name: Upload wheels
4655
uses: actions/upload-artifact@v6
4756
with:
@@ -79,6 +88,16 @@ jobs:
7988
env:
8089
CFLAGS_aarch64_unknown_linux_musl: ${{ matrix.platform.target == 'aarch64' && '-D__ARM_ARCH=8' || '' }}
8190
CFLAGS_armv7_unknown_linux_musleabihf: ${{ matrix.platform.target == 'armv7' && '-D__ARM_ARCH=7' || '' }}
91+
- name: Build free-threaded wheels
92+
uses: PyO3/maturin-action@v1
93+
with:
94+
target: ${{ matrix.platform.target }}
95+
args: --release --out dist -i python3.14t
96+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
97+
manylinux: musllinux_1_2
98+
env:
99+
CFLAGS_aarch64_unknown_linux_musl: ${{ matrix.platform.target == 'aarch64' && '-D__ARM_ARCH=8' || '' }}
100+
CFLAGS_armv7_unknown_linux_musleabihf: ${{ matrix.platform.target == 'armv7' && '-D__ARM_ARCH=7' || '' }}
82101
- name: Upload wheels
83102
uses: actions/upload-artifact@v6
84103
with:
@@ -114,6 +133,12 @@ jobs:
114133
target: ${{ matrix.platform.target }}
115134
args: --release --out dist --find-interpreter
116135
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
136+
- name: Build free-threaded wheels
137+
uses: PyO3/maturin-action@v1
138+
with:
139+
target: ${{ matrix.platform.target }}
140+
args: --release --out dist -i python3.14t
141+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
117142
- name: Upload wheels
118143
uses: actions/upload-artifact@v6
119144
with:
@@ -143,6 +168,12 @@ jobs:
143168
target: ${{ matrix.platform.target }}
144169
args: --release --out dist --find-interpreter
145170
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
171+
- name: Build free-threaded wheels
172+
uses: PyO3/maturin-action@v1
173+
with:
174+
target: ${{ matrix.platform.target }}
175+
args: --release --out dist -i python3.14t
176+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
146177
- name: Upload wheels
147178
uses: actions/upload-artifact@v6
148179
with:

0 commit comments

Comments
 (0)