Skip to content

Commit 180e43d

Browse files
committed
Setup vcpkg in CI
1 parent 1dea342 commit 180e43d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@ jobs:
3636
- name: Restore NuGet packages
3737
run: msbuild -t:restore -p:RestorePackagesConfig=true
3838

39+
- name: Setup vcpkg
40+
uses: lukka/run-vcpkg@v11
41+
with:
42+
runVcpkgInstall: true
43+
vcpkgJsonGlob: '**/vcpkg.json'
44+
45+
- name: Install vcpkg MSBuild integration
46+
run: ${{ github.workspace }}/vcpkg/vcpkg.exe integrate install
47+
3948
- name: Build solution
4049
run: msbuild WinUHid.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }} /m /verbosity:minimal
4150

0 commit comments

Comments
 (0)