Skip to content

Commit

Permalink
Run free-threaded CI on MacOS (#4686)
Browse files Browse the repository at this point in the history
* run free-threaded CI on MacOS and Windows

* build against 3.13 instead of 3.13-dev on build-full

* skip windows build, see #4685
  • Loading branch information
ngoldbaum authored Nov 6, 2024
1 parent b05ba49 commit faa644a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ jobs:
"3.10",
"3.11",
"3.12",
"3.13-dev",
"3.13",
"pypy3.9",
"pypy3.10",
"graalpy24.0",
Expand Down Expand Up @@ -552,7 +552,11 @@ jobs:

test-free-threaded:
needs: [fmt]
runs-on: ubuntu-latest
name: Free threaded tests - ${{ matrix.runner }}
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner: ["ubuntu-latest", "macos-latest"]
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
Expand All @@ -561,11 +565,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: rust-src
# TODO: replace with setup-python when there is support
- uses: deadsnakes/action@v3.2.0
# TODO: replace with actions/setup-python when there is support
- uses: quansight-labs/setup-python@v5.3.1
with:
python-version: '3.13-dev'
nogil: true
python-version: '3.13t'
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- run: python3 -m sysconfig
Expand Down

0 comments on commit faa644a

Please sign in to comment.