Repository navigation
Commit 313a547
committed
ci: use msvc-dev-cmd and fail-fast Windows build step
The hardcoded VS2022 vcvars64.bat path does not exist on the
windows-2025-vs2026 image, so cl never reached PATH and CMake
failed with 'Could not find the compiler specified in CXX: cl'.
Use ilammy/msvc-dev-cmd (as the main repo's ci-workflow does) to
locate VS via vswhere.
Also chain the build as 'make ... && ccache -s' so a make failure
fails the step; previously the trailing 'ccache -s' (exit 0)
masked build failures and the step stayed green while tests failed
downstream with MODULE_NOT_FOUND.1 parent 735372c commit 313a547
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
127 | 133 | | |
128 | 134 | | |
129 | 135 | | |
130 | 136 | | |
131 | 137 | | |
132 | 138 | | |
133 | 139 | | |
| 140 | + | |
134 | 141 | | |
135 | 142 | | |
136 | 143 | | |
137 | 144 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 145 | | |
| 146 | + | |
142 | 147 | | |
143 | 148 | | |
144 | 149 | | |
| |||
0 commit comments