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
10 changes: 7 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:

jobs:
build:
if: false
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -52,7 +51,10 @@ jobs:
- name: Configure CMake
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=${{ matrix.arch }}
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 @@ -62,5 +64,7 @@ jobs:
- name: Build
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=${{ matrix.arch }}
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 }}