This repository was archived by the owner on Oct 12, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 - os : windows-latest
1818 toolchain : mingw
1919
20- - os : windows-latest
20+ - os : windows-2022
2121 toolchain : visual-studio
2222
2323 runs-on : ${{ matrix.os }}
@@ -60,19 +60,21 @@ jobs:
6060 echo "C:\msys64\mingw64\bin" >> $env:GITHUB_PATH
6161
6262 # #########################################################################
63- # MSVC
63+ # MSVC / Visual Studio 2022
6464 # #########################################################################
6565
6666 - name : Configure MSVC
6767 if : matrix.toolchain == 'visual-studio'
6868 uses : ilammy/msvc-dev-cmd@v1
69+ with :
70+ arch : amd64
6971
7072 # #########################################################################
7173 # Diagnostics
7274 # #########################################################################
7375
7476 - name : Diagnostics
75- shell : bash
77+ shell : pwsh
7678 run : |
7779 cmake --version
7880 python --version
8890 if : matrix.toolchain == 'visual-studio'
8991 shell : cmd
9092 run : |
93+ where cl
9194 cl
9295
96+ - name : Verify Visual Studio
97+ if : matrix.toolchain == 'visual-studio'
98+ shell : powershell
99+ run : |
100+ & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" `
101+ -latest `
102+ -products * `
103+ -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 `
104+ -property installationPath
105+
106+ - name : Verify CMake Visual Studio generator
107+ if : matrix.toolchain == 'visual-studio'
108+ shell : cmd
109+ run : |
110+ cmake --help
111+
93112 # #########################################################################
94113 # Build
95114 # #########################################################################
You can’t perform that action at this time.
0 commit comments