From 4e3cb301a3e3b466bc8996f62aaee1198b8de2dc Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 11 Jun 2026 23:07:37 +0000 Subject: [PATCH] Fix Windows CI: stop pinning CMake to the VS 2022 generator The windows-latest runner image now ships Visual Studio 2026 only (actions/runner-images#14017), so configuring with -G "Visual Studio 17 2022" fails with "could not find any instance of Visual Studio". Drop the explicit generator and let CMake auto-detect the installed Visual Studio, keeping -A x64. https://claude.ai/code/session_018eaSTE1PhvV7SsiNyJrq76 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 99b81750a..269548230 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -185,7 +185,7 @@ jobs: - name: Configure CMake working-directory: cpp run: | - cmake . -G "Visual Studio 17 2022" -A x64 ` + cmake . -A x64 ` -DUSE_BACKEND=OPENCL ` -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake"