-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
18b07f0
commit e2a17db
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,15 +28,23 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup MSBuild.exe | ||
uses: microsoft/[email protected] | ||
|
||
- name: Install vcpkg | ||
run: | | ||
git clone https://github.com/microsoft/vcpkg.git | ||
.\vcpkg\bootstrap-vcpkg.bat | ||
echo "VCPKG_ROOT=$(pwd)\vcpkg" >> $GITHUB_ENV | ||
echo "PATH=$(pwd)\vcpkg;$PATH" >> $GITHUB_ENV | ||
- name: Set VCPKG_ROOT | ||
run: | | ||
echo "VCPKG_ROOT=$(Get-Location)\vcpkg" >> $env:GITHUB_ENV | ||
shell: powershell | ||
|
||
- name: Build CMake Files with vcpkg toolchain | ||
run: cmake --preset=vcpkg | ||
env: | ||
VCPKG_ROOT: ${{ env.VCPKG_ROOT }} | ||
|
||
- name: Build binaries | ||
run: cmake --build build --config Release |