diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 52d64b4..50bde25 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -93,7 +93,7 @@ jobs: fail-fast: false matrix: target: [x86_64, x86, aarch64, armv7, s390x, ppc64le, ppc64, i686] - 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'] manylinux: ['auto', 'musllinux_1_1'] exclude: - manylinux: musllinux_1_1 @@ -106,13 +106,21 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 + if: matrix.python_version != '3.13t' with: python-version: ${{ matrix.python_version }} + - uses: Quansight-Labs/setup-python@v5 + if: matrix.python_version == '3.13t' + with: + python-version: '3.13t' + - name: FreeThreaded Patch + if: matrix.python_version == '3.13t' + run: git apply freethreaded.patch - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - args: --release --out dist --interpreter ${{ matrix.python_version }} + args: --release --out dist -i ${{ matrix.python_version }} sccache: 'true' manylinux: ${{ matrix.manylinux }} - name: Upload wheels