Skip to content

Commit 068eee6

Browse files
committed
Add MSVC 2026 to CI
1 parent 45405ec commit 068eee6

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,24 @@ jobs:
305305
environment_script: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat",
306306
cxxver: 20,
307307
}
308+
- {
309+
name: "Windows MSVC 2026 (x64) C++17",
310+
os: windows-2022,
311+
buildtype: Release,
312+
cxx: "cl",
313+
environment_script: "C:/Program Files/Microsoft Visual Studio/2026/Community/VC/Auxiliary/Build/vcvars64.bat",
314+
cxxver: 17,
315+
msvcver: 2026,
316+
}
317+
- {
318+
name: "Windows MSVC 2026 (x64) C++20",
319+
os: windows-2022,
320+
buildtype: Release,
321+
cxx: "cl",
322+
environment_script: "C:/Program Files/Microsoft Visual Studio/2026/Community/VC/Auxiliary/Build/vcvars64.bat",
323+
cxxver: 20,
324+
msvcver: 2026,
325+
}
308326
- {
309327
name: "Msys2/CLANG",
310328
os: windows-2019,
@@ -508,6 +526,14 @@ jobs:
508526
choco install visualstudio2017-workload-nativedesktop
509527
choco install visualstudio2017-workload-vctools
510528
529+
- name: Install MSVC 2026 (Visual Studio 2026 Community with C++ tools)
530+
id: install_msvc_2026
531+
if: startsWith(matrix.config.os, 'windows-') && ( matrix.config.cxx == 'cl' ) && ( matrix.config.msvcver == 2026 )
532+
shell: powershell
533+
run: |
534+
choco install visualstudio2026community --yes --no-progress --execution-timeout=7200 `
535+
--package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended --passive --locale en-US"
536+
511537
- name: MSYS2 - Configure, Build & Test
512538
id: install_msys2
513539
if: (startsWith(matrix.config.os, 'windows-2019') && contains(matrix.config.mingw, 'MINGW'))

0 commit comments

Comments
 (0)