Skip to content

Commit d8cf02e

Browse files
committed
Add vcpkg init step to GH Actions
Signed-off-by: Dennis Ameling <[email protected]>
1 parent 897dd0f commit d8cf02e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,20 @@ jobs:
188188
## Unzip and remove the artifact
189189
unzip artifacts.zip
190190
rm artifacts.zip
191+
- name: initialize vcpkg
192+
shell: cmd
193+
working-directory: ./compat/vcbuild
194+
run: |
195+
echo Fetching vcpkg in %cwd%vcpkg
196+
git.exe clone https://github.com/Microsoft/vcpkg vcpkg
197+
IF ERRORLEVEL 1 ( EXIT /B 1 )
198+
199+
cd vcpkg
200+
echo Building vcpkg
201+
powershell -exec bypass scripts\bootstrap.ps1
202+
IF ERRORLEVEL 1 ( EXIT /B 1 )
203+
204+
echo Successfully installed %cwd%vcpkg\vcpkg.exe
191205
- name: download vcpkg artifacts
192206
shell: powershell
193207
run: |

0 commit comments

Comments
 (0)