Skip to content

Commit ff056dd

Browse files
authored
Fix an issue with Windows ARM64 free threaded builds (#501)
* CI: skip 3.13t on Windows ARM It's cursed. * 3.14t is broken too on Windows ARM64
1 parent 37e30e1 commit ff056dd

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/kernel_abi_python_release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,20 +143,24 @@ jobs:
143143
args: --release --out dist --manifest-path kernel-abi-check/bindings/python/Cargo.toml
144144
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
145145
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
146+
if: matrix.platform.target != 'aarch64'
146147
with:
147148
python-version: 3.13t
148149
architecture: ${{ matrix.platform.python_arch }}
149150
- name: Build free-threaded wheels (3.13t)
151+
if: matrix.platform.target != 'aarch64'
150152
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
151153
with:
152154
target: ${{ matrix.platform.target }}
153155
args: --release --out dist --manifest-path kernel-abi-check/bindings/python/Cargo.toml -i python3.13t
154156
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
155157
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
158+
if: matrix.platform.target != 'aarch64'
156159
with:
157160
python-version: 3.14t
158161
architecture: ${{ matrix.platform.python_arch }}
159162
- name: Build free-threaded wheels (3.14t)
163+
if: matrix.platform.target != 'aarch64'
160164
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
161165
with:
162166
target: ${{ matrix.platform.target }}

.github/workflows/kernels_data_python_release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,20 +148,24 @@ jobs:
148148
args: --release --out dist --manifest-path kernels-data/bindings/python/Cargo.toml
149149
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
150150
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
151+
if: matrix.platform.target != 'aarch64'
151152
with:
152153
python-version: 3.13t
153154
architecture: ${{ matrix.platform.python_arch }}
154155
- name: Build free-threaded wheels (3.13t)
156+
if: matrix.platform.target != 'aarch64'
155157
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
156158
with:
157159
target: ${{ matrix.platform.target }}
158160
args: --release --out dist --manifest-path kernels-data/bindings/python/Cargo.toml -i python3.13t
159161
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
160162
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
163+
if: matrix.platform.target != 'aarch64'
161164
with:
162165
python-version: 3.14t
163166
architecture: ${{ matrix.platform.python_arch }}
164167
- name: Build free-threaded wheels (3.14t)
168+
if: matrix.platform.target != 'aarch64'
165169
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
166170
with:
167171
target: ${{ matrix.platform.target }}

0 commit comments

Comments
 (0)