File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 20
20
id : set-matrix
21
21
run : |
22
22
$matrix = @{
23
- 'os' = @('ubuntu-latest', 'windows-latest ')
23
+ 'os' = @('ubuntu-latest', 'windows-2019 ')
24
24
'pyver' = @("3.9", "3.10", "3.11", "3.12")
25
25
'cuda' = @("12.1.1", "12.2.2", "12.3.2", "12.4.1")
26
26
'releasetag' = @("basic")
43
43
AVXVER : ${{ matrix.releasetag }}
44
44
45
45
steps :
46
+ - name : Add MSBuild to PATH
47
+ if : runner.os == 'Windows'
48
+ uses : microsoft/setup-msbuild@v1.1
49
+ with :
50
+ vs-version : ' [16.11,16.12)'
51
+
46
52
- uses : actions/checkout@v4
47
53
with :
48
54
submodules : " recursive"
85
91
if : runner.os == 'Windows'
86
92
run : |
87
93
$y = (gi '.\MSBuildExtensions').fullname + '\*'
88
- (gi 'C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\MSBuild\Microsoft\VC\*\BuildCustomizations').fullname.foreach({cp $y $_})
94
+ (gi 'C:\Program Files (x86) \Microsoft Visual Studio\2019 \Enterprise\MSBuild\Microsoft\VC\*\BuildCustomizations').fullname.foreach({cp $y $_})
89
95
$cupath = 'CUDA_PATH_V' + $env:CUDAVER.Remove($env:CUDAVER.LastIndexOf('.')).Replace('.','_')
90
96
echo "$cupath=$env:CONDA_PREFIX" >> $env:GITHUB_ENV
91
97
You can’t perform that action at this time.
0 commit comments