Skip to content

Commit 8f123b4

Browse files
committed
fix(ci): use MSVC 14.29 for CUDA 11.8 Windows wheels
1 parent a7a32d3 commit 8f123b4

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

‎.github/workflows/build-wheels-cuda.yaml‎

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,16 @@ jobs:
2020
id: set-matrix
2121
run: |
2222
$matrix = @{
23-
'os' = @('ubuntu-22.04', 'windows-2022', 'windows-2019')
23+
'os' = @('ubuntu-22.04', 'windows-2022')
2424
# wheel.py-api = "py3" makes the CUDA wheel interpreter-agnostic,
2525
# so one builder per toolkit version is sufficient.
2626
'pyver' = @("3.9")
2727
'cuda' = @("11.8.0", "12.1.1", "12.2.2", "12.3.2", "12.4.1", "12.5.1")
2828
'releasetag' = @("basic")
2929
'exclude' = @(
30-
@{ 'os' = 'windows-2022'; 'cuda' = '11.8.0' },
3130
@{ 'os' = 'windows-2022'; 'cuda' = '12.1.1' },
3231
@{ 'os' = 'windows-2022'; 'cuda' = '12.2.2' },
33-
@{ 'os' = 'windows-2022'; 'cuda' = '12.3.2' },
34-
@{ 'os' = 'windows-2019'; 'cuda' = '12.1.1' },
35-
@{ 'os' = 'windows-2019'; 'cuda' = '12.2.2' },
36-
@{ 'os' = 'windows-2019'; 'cuda' = '12.3.2' },
37-
@{ 'os' = 'windows-2019'; 'cuda' = '12.4.1' },
38-
@{ 'os' = 'windows-2019'; 'cuda' = '12.5.1' }
32+
@{ 'os' = 'windows-2022'; 'cuda' = '12.3.2' }
3933
)
4034
}
4135
@@ -56,8 +50,15 @@ jobs:
5650
AVXVER: ${{ matrix.releasetag }}
5751

5852
steps:
53+
- name: Set up MSVC for CUDA 11.8
54+
if: runner.os == 'Windows' && matrix.cuda == '11.8.0'
55+
uses: ilammy/msvc-dev-cmd@v1
56+
with:
57+
arch: x64
58+
toolset: 14.29
59+
5960
- name: Set up MSVC
60-
if: runner.os == 'Windows'
61+
if: runner.os == 'Windows' && matrix.cuda != '11.8.0'
6162
uses: ilammy/msvc-dev-cmd@v1
6263
with:
6364
arch: x64

0 commit comments

Comments
 (0)