diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cbde09247..b787cdb93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,8 +96,10 @@ jobs: - name: MSVC toolset: msvc version: 2026 - toolset_version: 14.51 - vs-path: C:\Program Files\Microsoft Visual Studio\18\Enterprise + # Runner images replace toolsets on update (e.g. 14.51 by 14.52), so + # use the newest installed one matching the prefix. + toolset_prefix: "14.5" + platform_toolset: v145 cmake_config_additional_args: -G "Visual Studio 18 2026" builder_additional_args: -- "-consoleLoggerParameters:ForceConsoleColor" executable: cl @@ -127,8 +129,8 @@ jobs: compiler-version: ${{ matrix.compiler.version }} compiler-executable: ${{ matrix.compiler.executable }} compiler-cxxflags: ${{ matrix.compiler.cxxflags }} - compiler-toolset-version: ${{ matrix.compiler.toolset_version }} - vs-path: ${{ matrix.compiler.vs-path }} + msvc-toolset-prefix: ${{ matrix.compiler.toolset_prefix }} + msvc-platform-toolset: ${{ matrix.compiler.platform_toolset }} cmake-config-additional-args: ${{ matrix.compiler.cmake_config_additional_args }} compiler-builder-additional-args: ${{ matrix.compiler.builder_additional_args }} components: ${{ needs.changes.outputs.components }}