CMake VS 2026 on GitHub Actions
CMake Visual Studio 18 2026 generator. is supported in GitHub Actions runner image windows-2025-vs2026. The “windows-2025” runner image is planned to incorporate VS 2026 by mid-June 2026.
jobs:
msvc:
runs-on: windows-2025-vs2026
steps:
- uses: actions/checkout
- name: Print CMake version
run: cmake --version
- name: Configure CMake
run: cmake -B build -G "Visual Studio 18 2026"
# and so on