Skip to content

Fix Windows CI configure on the current windows-latest image - #716

Merged
kris-jusiak merged 2 commits into
boost-ext:masterfrom
fhgffy:fix-windows-ci-generator
Oct 4, 2026
Merged

kris-jusiak merged 2 commits into
boost-ext:masterfrom
fhgffy:fix-windows-ci-generator

Conversation

@fhgffy

@fhgffy fhgffy commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

The Windows and Windows_shared workflows fail on master and on every pull request at the configure step:

CMake Error at CMakeLists.txt:14 (project):
  Generator

    Visual Studio 17 2022

  could not find any instance of Visual Studio.

The windows-latest image no longer ships Visual Studio 2022. This drops the hardcoded -G "Visual Studio 17 2022" and keeps -T ${{matrix.toolset}}, so CMake uses the installed Visual Studio generator (currently Visual Studio 18 2026).

On my fork, both workflows pass with this change for the v143 and ClangCl toolsets, and ctest reports all tests passed.

windows-latest no longer has Visual Studio 2022, so configuring with -G "Visual Studio 17 2022" fails before anything is built.
@kris-jusiak
kris-jusiak merged commit bfbec2a into boost-ext:master Oct 4, 2026
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants