Skip to content

Commit

Permalink
🔧 attempt to setup 3.13t within normal CI*2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ousret committed Nov 12, 2024
1 parent 3f4c70e commit 300fb9a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist -i ${{ matrix.python_version }}
args: --release --out dist -i ${{ matrix.python_version == '3.13t' && 'python' || '' }}${{ matrix.python_version }}
sccache: 'true'
manylinux: ${{ matrix.manylinux }}
- name: Upload wheels
Expand All @@ -138,7 +138,7 @@ jobs:
fail-fast: false
matrix:
target: [x64, aarch64]
python_version: ['3.10', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10']
python_version: ['3.10', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10', '3.13t']
exclude:
- target: aarch64
python_version: 'pypy-3.7'
Expand All @@ -151,9 +151,18 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
if: matrix.python_version != '3.13t'
with:
python-version: ${{ matrix.python_version }}
architecture: x64
- uses: Quansight-Labs/setup-python@v5
if: matrix.python_version == '3.13t'
with:
python-version: '3.13t'
architecture: x64
- name: FreeThreaded Patch
if: matrix.python_version == '3.13t'
run: git apply freethreaded.patch
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down

0 comments on commit 300fb9a

Please sign in to comment.