Repository navigation
Commit bc2abf9
committed
Build Windows presets with the newest Visual Studio installed
The Windows presets named the Visual Studio 2022 generator. GitHub's windows-11-arm image moved to Visual Studio 2026 in September 2026 (actions/runner-images#14602), so CMake found no Visual Studio there and the ARM64 job failed before building anything.
The presets no longer name a generator, so CMake uses the newest Visual Studio installed: 2022 on a machine with only 2022, 2026 on the ARM64 runner. The architecture is still set per preset.
Prior art: actions/runner-images README and Windows11-Arm64 readme (windows-11-arm label moved to the Visual Studio 2026 image); CMake picks the newest Visual Studio when no generator is given.1 parent f1b1b80 commit bc2abf9
3 files changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
| |||
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
98 | | - | |
99 | 97 | | |
100 | 98 | | |
101 | 99 | | |
| |||
110 | 108 | | |
111 | 109 | | |
112 | 110 | | |
113 | | - | |
114 | 111 | | |
115 | 112 | | |
116 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments