Skip to content

Fix Windows CI CMake configure step for hosted runner compatibility - #3

Merged
BEASTSHRIRAM merged 2 commits into
mainfrom
copilot/fix-build-windows-job
Aug 26, 2026
Merged

Fix Windows CI CMake configure step for hosted runner compatibility#3
BEASTSHRIRAM merged 2 commits into
mainfrom
copilot/fix-build-windows-job

Conversation

Copilot AI commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

The build-windows Actions job failed during CMake configure because the workflow pinned a Visual Studio generator (Visual Studio 17 2022) that is not guaranteed on current windows-latest images. This change removes the hardcoded generator so CMake can select an available toolchain on the runner.

  • CI workflow update

    • Updated .github/workflows/cpp-build.yml in build-windows to stop forcing a specific Visual Studio generator.
    • Kept the rest of the Windows build/test flow unchanged.
  • Failure mode addressed

    • Eliminates runner-image coupling that caused:
      • could not find any instance of Visual Studio
  • Change snippet

    # before
    cmake .. -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=Release
    
    # after
    cmake .. -DCMAKE_BUILD_TYPE=Release

Co-authored-by: BEASTSHRIRAM <165943146+BEASTSHRIRAM@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job build-windows Fix Windows CI CMake configure step for hosted runner compatibility Aug 26, 2026
Copilot AI requested a review from BEASTSHRIRAM August 26, 2026 16:37
@BEASTSHRIRAM
BEASTSHRIRAM marked this pull request as ready for review August 26, 2026 16:38
@BEASTSHRIRAM BEASTSHRIRAM added enhancement New feature or request bug Something isn't working labels Aug 26, 2026
@BEASTSHRIRAM
BEASTSHRIRAM merged commit d552867 into main Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants