Skip to content

Commit 19ff6d7

Browse files
committed
add hacky free-threaded CI
1 parent 4a91917 commit 19ff6d7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
- {VERSION: "3.13", NOXSESSION: "rust,tests", RUST: "beta"}
5757
- {VERSION: "3.13", NOXSESSION: "rust,tests", RUST: "nightly"}
5858
- {VERSION: "3.13", NOXSESSION: "tests-rust-debug"}
59+
- {VERSION: "3.13t", NOXSESSION: "local"}
5960
timeout-minutes: 15
6061
steps:
6162
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -137,6 +138,13 @@ jobs:
137138
NOXSESSION: ${{ matrix.PYTHON.NOXSESSION }}
138139
# Needed until https://github.com/PyO3/pyo3/issues/5093
139140
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1
141+
- name: override cffi version in free-threaded environment
142+
if: matrix.PYTHON.VERSION == '3.13t'
143+
# FIXME FIXME total hack
144+
run: |
145+
.nox/local/bin/python -m ensurepip
146+
.nox/local/bin/python -m pip install git+https://github.com/colesbury/cffi@ft
147+
echo "PYTHON_GIL=0" >> $GITHUB_ENV
140148
- name: Tests
141149
run: |
142150
nox --no-install -- --color=yes --wycheproof-root=wycheproof --x509-limbo-root=x509-limbo ${{ matrix.PYTHON.NOXARGS }}

0 commit comments

Comments
 (0)