Skip to content

Commit 79d5a1c

Browse files
committed
build.yml: Download and install MSVC
1 parent ab593a0 commit 79d5a1c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,13 @@ jobs:
187187
- run: git config --system --add safe.directory /__w/unified/unified
188188

189189
- name: Setup MSVC
190-
uses: ilammy/msvc-dev-cmd@v1
191-
with:
192-
arch: amd64
193-
vsversion: 2017
190+
run: |
191+
Invoke-WebRequest https://aka.ms/vs/15/release/vs_buildtools.exe -OutFile vs_buildtools.exe
192+
start /w vs_buildtools.exe --quiet --wait --norestart --nocache `
193+
--add Microsoft.VisualStudio.Workload.VCTools `
194+
--add Microsoft.VisualStudio.Component.VC.CMake.Project `
195+
--add Microsoft.VisualStudio.Component.TestTools.BuildTools `
196+
|| IF "%ERRORLEVEL%"=="3010" EXIT 0) `
194197
195198
- name: Setup CMake
196199
uses: lukka/get-cmake@latest

0 commit comments

Comments
 (0)