From ef557bd03df734e6a496eda4d0931b8c0c939e19 Mon Sep 17 00:00:00 2001 From: Hank W Ibell Date: Tue, 2 Jun 2026 07:48:45 -0400 Subject: [PATCH] Test jajik's changes --- .github/workflows/windows.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 55c325602d4..219c9f899f0 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -52,7 +52,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 ^ @@ -62,5 +65,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 }}