Skip to content
Closed
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
7 changes: 7 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ jobs:
- name: Configure CMake
shell: cmd
run: |
where /R "C:\Program Files\Microsoft Visual Studio" VsDevCmd.bat > vs_setup_path
set /p SETUP_VS=< vs_setup_path
call "%SETUP_VS%" -arch=${{ matrix.arch }}

cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} ^
-G "${{ matrix.generator }}" ^
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake ^
Expand All @@ -68,4 +72,7 @@ jobs:
- name: Build
shell: cmd
run: |
set /p SETUP_VS=< vs_setup_path
call "%SETUP_VS%" -arch=${{ matrix.arch }}
del vs_setup_path
cmake --build ${{github.workspace}}/build --config ${{ matrix.build-type }}
Loading