Another attempt to fix windows build

This commit is contained in:
2025-05-28 17:33:35 +01:00
parent 08261aaea2
commit 1ad9d10f59

View File

@@ -49,7 +49,6 @@ jobs:
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: auto manylinux: auto
- name: Build free-threaded wheels - name: Build free-threaded wheels
if: ${{ !contains(matrix.platform.runner, 'windows') }} # Excluding because free thread build fails on windows
uses: PyO3/maturin-action@v1 uses: PyO3/maturin-action@v1
with: with:
target: ${{ matrix.platform.target }} target: ${{ matrix.platform.target }}
@@ -121,12 +120,13 @@ jobs:
target: ${{ matrix.platform.target }} target: ${{ matrix.platform.target }}
args: --release --out dist args: --release --out dist
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Build free-threaded wheels # Excluded windows free threaded build, because it doesn't seem to work properly
uses: PyO3/maturin-action@v1 # - name: Build free-threaded wheels
with: # uses: PyO3/maturin-action@v1
target: ${{ matrix.platform.target }} # with:
args: --release --out dist -i python3.13t # target: ${{ matrix.platform.target }}
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} # args: --release --out dist -i python3.13t
# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels - name: Upload wheels
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with: