Skip to content

Commit

Permalink
CI: Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
syyyr authored and fvacek committed Oct 7, 2024
1 parent 4d2980d commit 2a413fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/cmake/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ runs:
- name: Install Windows deps
if: runner.os == 'Windows'
run: |
# https://github.com/microsoft/vcpkg/issues/41199#issuecomment-2378255699
export SystemDrive="$SYSTEMDRIVE"
export SystemRoot="$SYSTEMROOT"
export windir="$WINDIR"
vcpkg install doctest:x64-mingw-dynamic trompeloeil:x64-mingw-dynamic
echo cmake_extra_args="'-DCMAKE_TOOLCHAIN_FILE=$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake' '-DMINGW=ON' '-G MinGW Makefiles'" >> "$GITHUB_ENV"
shell: bash
Expand Down

0 comments on commit 2a413fe

Please sign in to comment.