fix cibuildwheel for windows

This commit is contained in:
Fangjun Kuang 2024-02-10 14:55:14 +08:00
parent 27c184e89a
commit 936767d8c1
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ name: build-wheels-cpu-macos
on:
push:
branches:
- fix-wheel
- fix-wheel-2
tags:
- '*'
workflow_dispatch:

View File

@ -3,7 +3,7 @@ name: build-wheels-cpu-ubuntu
on:
push:
branches:
- fix-wheel
- fix-wheel-2
tags:
- '*'
workflow_dispatch:

View File

@ -3,7 +3,7 @@ name: build-wheels-cuda-ubuntu
on:
push:
branches:
- fix-wheel
- fix-wheel-2
tags:
- '*'
workflow_dispatch:

View File

@ -47,7 +47,7 @@ jobs:
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
# for a list of versions
- name: Build wheels
uses: pypa/cibuildwheel@v2.11.4
uses: pypa/cibuildwheel@v2.16.5
env:
CIBW_BEFORE_BUILD: pip install torch==${{ matrix.torch}}+cpu -f https://download.pytorch.org/whl/torch_stable.html cmake numpy
CIBW_BUILD: ${{ matrix.python-version }}-win_amd64