Skip to content

Commit 971f87b

Browse files
committed
windows latest
1 parent 393e393 commit 971f87b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
os: [ubuntu-latest, ubuntu-24.04-arm, windows-2022, macos-latest]
14+
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-latest]
1515
cuda: [cpu, cu118, cu124]
1616
exclude:
1717
- os: ubuntu-24.04-arm
@@ -46,12 +46,12 @@ jobs:
4646

4747
- name: Activate MSVC
4848
uses: ilammy/msvc-dev-cmd@v1
49-
if: matrix.os == 'windows-2022'
49+
if: matrix.os == 'windows-latest'
5050
with:
51-
toolset: "22.0"
51+
toolset: "17.0"
5252

5353
- name: Build wheels
54-
if: matrix.os != 'windows-2022'
54+
if: matrix.os != 'windows-latest'
5555
shell: bash -l {0}
5656
run: |
5757
if [[ "${{ runner.os }}" == "Linux" ]]; then
@@ -65,7 +65,7 @@ jobs:
6565
WITH_CUDA: ${{ matrix.cuda != 'cpu' && '1' || '0' }}
6666

6767
- name: Build wheels
68-
if: matrix.os == 'windows-2022'
68+
if: matrix.os == 'windows-latest'
6969
shell: cmd # Use cmd on Windows to avoid bash environment taking priority over MSVC variables
7070
run: python -m cibuildwheel --output-dir wheelhouse
7171
env:

0 commit comments

Comments
 (0)