Skip to content

Commit

Permalink
🔧 attempt to setup 3.13t within normal CI*9
Browse files Browse the repository at this point in the history
  • Loading branch information
Ousret committed Nov 20, 2024
1 parent c8a0756 commit c3e0b7c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,18 @@ jobs:
- name: FreeThreaded Patch
if: matrix.python_version == '3.13t'
run: git apply freethreaded.patch
- name: Ensure Python PATH (FreeThreaded)
if: matrix.python_version == '3.13t'
run: echo "/opt/hostedtoolcache/Python/3.13.0/x64-freethreaded" >> "$GITHUB_PATH"
- id: resolve-interpreter
name: resolve interpreter
run: |
echo python-path=/opt/python/$(python -c "print({
'3.8': 'cp38-cp38',
'3.9': 'cp39-cp39',
'3.10': 'cp310-cp310',
'3.11': 'cp311-cp311',
'3.12': 'cp312-cp312',
'3.13': 'cp313-cp313',
'3.13t': 'cp313-cp313t',
}['${{ matrix.python_version }}'])")/bin/python >> $GITHUB_OUTPUT
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down

0 comments on commit c3e0b7c

Please sign in to comment.