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: on:
push: push:
branches: branches:
- fix-wheel - fix-wheel-2
tags: tags:
- '*' - '*'
workflow_dispatch: workflow_dispatch:

View File

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

View File

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

View File

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