Skip to content

Commit

Permalink
missing env variable?
Browse files Browse the repository at this point in the history
  • Loading branch information
DubbleClick committed Sep 27, 2024
1 parent 18b07f0 commit e2a17db
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e2a17db

Please sign in to comment.