Skip to content

Commit

Permalink
Merge pull request #26463 from ngoldbaum/add-nogil-ci
Browse files Browse the repository at this point in the history
TST: add basic free-threaded CI testing
  • Loading branch information
ngoldbaum committed May 21, 2024
2 parents ea02e84 + 1801aa2 commit b36f848
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,25 @@ jobs:
rm -rf build-install
./vendored-meson/meson/meson.py install -C build --destdir ../build-install --tags=runtime,python-runtime,devel
python tools/check_installed_files.py $(find ./build-install -path '*/site-packages/numpy') --no-tests
free-threaded:
needs: [smoke_test]
runs-on: ubuntu-latest
if: github.event_name != 'push'
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
submodules: recursive
fetch-tags: true
# TODO: replace with setup-python when there is support
- uses: deadsnakes/action@6c8b9b82fe0b4344f4b98f2775fcc395df45e494 # v3.1.0
with:
python-version: '3.13-dev'
nogil: true
# TODO: remove cython nightly install when cython does a release
- name: Install nightly Cython
run: |
pip install git+https://github.com/cython/cython
- uses: ./.github/meson_actions
env:
PYTHON_GIL: 0

0 comments on commit b36f848

Please sign in to comment.