Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
Expand All @@ -36,8 +38,8 @@ jobs:
- name: Restore NuGet packages
run: msbuild -t:restore -p:RestorePackagesConfig=true

- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
- name: Bootstrap vcpkg
run: ${{ github.workspace }}/vcpkg/bootstrap-vcpkg.bat -disableMetrics

- name: Install vcpkg MSBuild integration
run: ${{ github.workspace }}/vcpkg/vcpkg.exe integrate install
Expand All @@ -48,7 +50,8 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: WinUHid-${{ matrix.configuration }}-${{ matrix.platform }}
path: |
build/${{ matrix.configuration }}/${{ matrix.platform }}/WinUHid.*
WinUHid/WinUHid.h
WinUHid/WinUHid.h
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "vcpkg"]
path = vcpkg
url = https://github.com/microsoft/vcpkg.git
branch = master
1 change: 1 addition & 0 deletions vcpkg
Submodule vcpkg added at 62159a