Skip to content

Commit

Permalink
CI: Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
syyyr committed Oct 7, 2024
1 parent 7e04855 commit aed74ad
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 @@ -33,6 +33,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 aed74ad

Please sign in to comment.