Skip to content

Commit 40f04d2

Browse files
committed
Set free-threading variables only under free-threaded conditions
1 parent 1d15ad4 commit 40f04d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717

1818
jobs:
1919
build_wheels:
20-
name: Build wheels on ${{ matrix.os }} for ${{ matrix.arch }} - ${{ matrix.p_ver }}
20+
name: Build wheels on ${{ matrix.os }} for ${{ matrix.arch }} - ${{ matrix.cibw_build }}
2121
runs-on: ${{ matrix.os }}
2222
permissions:
2323
contents: write
@@ -27,6 +27,7 @@ jobs:
2727
CIBW_ARCHS_MACOS: "x86_64 arm64"
2828
CIBW_ENABLE: cpython-freethreading
2929
strategy:
30+
fail-fast: false
3031
matrix:
3132
os: [ubuntu-latest, windows-latest, macos-latest]
3233
arch: [x86_64, aarch64]
@@ -56,6 +57,7 @@ jobs:
5657
name: Set up QEMU
5758

5859
- name: Setup free-threading variables
60+
if: ${{ endsWith(matrix.cibw_build, 't-*') }}
5961
shell: bash -l {0}
6062
run: |
6163
echo "CIBW_BEFORE_BUILD=pip install setuptools numpy" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)