forked from cython/cython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up CI for the free threaded build
- Loading branch information
1 parent
19f67cb
commit ed7b4d9
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -161,6 +161,12 @@ jobs: | |
python-version: pypy-3.10 | ||
backend: c | ||
env: { NO_CYTHON_COMPILE: 1 } | ||
# Free-threading | ||
- os: ubuntu-20.04 | ||
python-version: 3.13-freethreading-dev | ||
backend: "c,cpp" | ||
env: {} | ||
allowed_failure: true | ||
|
||
# This defaults to 360 minutes (6h) which is way too long and if a test gets stuck, it can block other pipelines. | ||
# From testing, the runs tend to take ~20 minutes for ubuntu / macos and ~40 for windows, | ||
|
@@ -186,9 +192,17 @@ jobs: | |
|
||
- name: Setup python | ||
uses: actions/[email protected] | ||
if: "!endsWith(matrix.python-version, '-freethreading-dev')" | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Setup python from deadsnakes | ||
uses: deadsnakes/[email protected] | ||
if: "endsWith(matrix.python-version, '-freethreading-dev')" | ||
with: | ||
python-version: 3.13-dev | ||
nogil: true | ||
|
||
- name: Compilation Cache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters