|
2 | 2 | "version": 8, |
3 | 3 | "configurePresets": [ |
4 | 4 | { |
5 | | - "name": "_ci-common", |
6 | | - "hidden": true, |
7 | | - "binaryDir": "build", |
8 | | - "inherits": ["cmake-conan"] |
9 | | - }, |
10 | | - { |
11 | | - "name": "ci-ubuntu-gcc-release", |
12 | | - "inherits": ["_ci-ubuntu-gcc", "_ci-release"] |
| 5 | + "name": "ci-macos-clang-debug", |
| 6 | + "inherits": ["_ci-macos-clang", "_ci-debug", "_ci-clang-tidy"] |
13 | 7 | }, |
14 | 8 | { |
15 | | - "name": "ci-ubuntu-gcc-debug", |
16 | | - "inherits": ["_ci-ubuntu-gcc", "_ci-debug"] |
| 9 | + "name": "ci-macos-clang-release", |
| 10 | + "inherits": ["_ci-macos-clang", "_ci-release", "_ci-clang-tidy"] |
17 | 11 | }, |
18 | 12 | { |
19 | | - "name": "ci-ubuntu-clang-release", |
20 | | - "inherits": ["_ci-ubuntu-clang", "_ci-release", "_ci-clang-tidy"] |
| 13 | + "name": "ci-macos-gcc-debug", |
| 14 | + "inherits": ["_ci-macos-gcc", "_ci-debug"] |
21 | 15 | }, |
22 | 16 | { |
23 | | - "name": "ci-ubuntu-clang-debug", |
24 | | - "inherits": ["_ci-ubuntu-clang", "_ci-debug", "_ci-clang-tidy"] |
| 17 | + "name": "ci-macos-gcc-release", |
| 18 | + "inherits": ["_ci-macos-gcc", "_ci-release"] |
25 | 19 | }, |
26 | 20 | { |
27 | | - "name": "ci-macos-clang-release", |
28 | | - "inherits": ["_ci-macos-clang", "_ci-release", "_ci-clang-tidy"] |
| 21 | + "name": "ci-ubuntu-clang-release", |
| 22 | + "inherits": ["_ci-ubuntu-clang", "_ci-release", "_ci-clang-tidy"] |
29 | 23 | }, |
30 | 24 | { |
31 | | - "name": "ci-macos-clang-debug", |
32 | | - "inherits": ["_ci-macos-clang", "_ci-debug", "_ci-clang-tidy"] |
| 25 | + "name": "_ci-macos-clang", |
| 26 | + "hidden": true, |
| 27 | + "inherits": [ |
| 28 | + "gcc-clang-flags", |
| 29 | + "_ci-common", |
| 30 | + "_ci-clang", |
| 31 | + "_ci-gcc-libstdc++-for-clang-common", |
| 32 | + "_ci-gcc-libstdc++-for-clang-macos" |
| 33 | + ], |
| 34 | + "cacheVariables": { |
| 35 | + "CMAKE_CXX_FLAGS": "$env{PRESET_CXX_FLAGS_GCC_CLANG} $env{PRESET_CXX_FLAGS_LIBSTDCPP_FOR_CLANG_COMMON} $env{PRESET_CXX_FLAGS_LIBSTDCPP_FOR_CLANG_MACOS}" |
| 36 | + } |
33 | 37 | }, |
34 | 38 | { |
35 | | - "name": "_ci-ubuntu-gcc", |
| 39 | + "name": "_ci-macos-gcc", |
36 | 40 | "hidden": true, |
37 | 41 | "inherits": ["gcc-clang-flags", "_ci-common", "_ci-gcc"], |
38 | 42 | "cacheVariables": { |
|
54 | 58 | } |
55 | 59 | }, |
56 | 60 | { |
57 | | - "name": "_ci-macos-clang", |
| 61 | + "name": "_ci-common", |
58 | 62 | "hidden": true, |
59 | | - "inherits": [ |
60 | | - "gcc-clang-flags", |
61 | | - "_ci-common", |
62 | | - "_ci-clang", |
63 | | - "_ci-gcc-libstdc++-for-clang-common", |
64 | | - "_ci-gcc-libstdc++-for-clang-macos" |
65 | | - ], |
66 | | - "cacheVariables": { |
67 | | - "CMAKE_CXX_FLAGS": "$env{PRESET_CXX_FLAGS_GCC_CLANG} $env{PRESET_CXX_FLAGS_LIBSTDCPP_FOR_CLANG_COMMON} $env{PRESET_CXX_FLAGS_LIBSTDCPP_FOR_CLANG_MACOS}" |
68 | | - } |
| 63 | + "binaryDir": "build", |
| 64 | + "inherits": ["cmake-conan"] |
69 | 65 | }, |
70 | 66 | { |
71 | | - "name": "_ci-release", |
| 67 | + "name": "_ci-debug", |
72 | 68 | "hidden": true, |
73 | 69 | "cacheVariables": { |
74 | | - "CMAKE_BUILD_TYPE": "Release" |
| 70 | + "CMAKE_BUILD_TYPE": "Debug" |
75 | 71 | } |
76 | 72 | }, |
77 | 73 | { |
78 | | - "name": "_ci-debug", |
| 74 | + "name": "_ci-release", |
79 | 75 | "hidden": true, |
80 | 76 | "cacheVariables": { |
81 | | - "CMAKE_BUILD_TYPE": "Debug" |
| 77 | + "CMAKE_BUILD_TYPE": "Release" |
82 | 78 | } |
83 | 79 | }, |
84 | 80 | { |
|
117 | 113 | } |
118 | 114 | }, |
119 | 115 | { |
120 | | - "name": "_ci-gcc-libstdc++-for-clang-ubuntu", |
| 116 | + "name": "_ci-gcc-libstdc++-for-clang-macos", |
121 | 117 | "hidden": true, |
122 | 118 | "environment": { |
123 | | - "PRESET_CXX_FLAGS_LIBSTDCPP_FOR_CLANG_UBUNTU": "-cxx-isystem$penv{HOMEBREW_PREFIX}/opt/gcc/include/c++/15/x86_64-pc-linux-gnu" |
| 119 | + "PRESET_CXX_FLAGS_LIBSTDCPP_FOR_CLANG_MACOS": "-cxx-isystem$penv{HOMEBREW_PREFIX}/opt/gcc/include/c++/15/aarch64-apple-darwin24" |
124 | 120 | } |
125 | 121 | }, |
126 | 122 | { |
127 | | - "name": "_ci-gcc-libstdc++-for-clang-macos", |
| 123 | + "name": "_ci-gcc-libstdc++-for-clang-ubuntu", |
128 | 124 | "hidden": true, |
129 | 125 | "environment": { |
130 | | - "PRESET_CXX_FLAGS_LIBSTDCPP_FOR_CLANG_MACOS": "-cxx-isystem$penv{HOMEBREW_PREFIX}/opt/gcc/include/c++/15/aarch64-apple-darwin24" |
| 126 | + "PRESET_CXX_FLAGS_LIBSTDCPP_FOR_CLANG_UBUNTU": "-cxx-isystem$penv{HOMEBREW_PREFIX}/opt/gcc/include/c++/15/x86_64-pc-linux-gnu" |
131 | 127 | } |
132 | 128 | } |
133 | 129 | ], |
134 | 130 | "buildPresets": [ |
135 | 131 | { |
136 | | - "name": "ci-ubuntu-gcc-release", |
137 | | - "configurePreset": "ci-ubuntu-gcc-release" |
138 | | - }, |
139 | | - { |
140 | | - "name": "ci-ubuntu-gcc-debug", |
141 | | - "configurePreset": "ci-ubuntu-gcc-debug" |
| 132 | + "name": "ci-macos-clang-debug", |
| 133 | + "configurePreset": "ci-macos-clang-debug" |
142 | 134 | }, |
143 | 135 | { |
144 | | - "name": "ci-ubuntu-clang-release", |
145 | | - "configurePreset": "ci-ubuntu-clang-release" |
| 136 | + "name": "ci-macos-clang-release", |
| 137 | + "configurePreset": "ci-macos-clang-release" |
146 | 138 | }, |
147 | 139 | { |
148 | | - "name": "ci-ubuntu-clang-debug", |
149 | | - "configurePreset": "ci-ubuntu-clang-debug" |
| 140 | + "name": "ci-macos-gcc-debug", |
| 141 | + "configurePreset": "ci-macos-gcc-debug" |
150 | 142 | }, |
151 | 143 | { |
152 | | - "name": "ci-macos-clang-release", |
153 | | - "configurePreset": "ci-macos-clang-release" |
| 144 | + "name": "ci-macos-gcc-release", |
| 145 | + "configurePreset": "ci-macos-gcc-release" |
154 | 146 | }, |
155 | 147 | { |
156 | | - "name": "ci-macos-clang-debug", |
157 | | - "configurePreset": "ci-macos-clang-debug" |
| 148 | + "name": "ci-ubuntu-clang-release", |
| 149 | + "configurePreset": "ci-ubuntu-clang-release" |
158 | 150 | } |
159 | 151 | ], |
160 | 152 | "testPresets": [ |
161 | 153 | { |
162 | | - "name": "ci-ubuntu-gcc-release", |
163 | | - "configurePreset": "ci-ubuntu-gcc-release", |
164 | | - "inherits": ["output-on-failure"] |
165 | | - }, |
166 | | - { |
167 | | - "name": "ci-ubuntu-gcc-debug", |
168 | | - "configurePreset": "ci-ubuntu-gcc-debug", |
| 154 | + "name": "ci-macos-clang-debug", |
| 155 | + "configurePreset": "ci-macos-clang-debug", |
169 | 156 | "inherits": ["output-on-failure"] |
170 | 157 | }, |
171 | 158 | { |
172 | | - "name": "ci-ubuntu-clang-release", |
173 | | - "configurePreset": "ci-ubuntu-clang-release", |
| 159 | + "name": "ci-macos-clang-release", |
| 160 | + "configurePreset": "ci-macos-clang-release", |
174 | 161 | "inherits": ["output-on-failure"] |
175 | 162 | }, |
176 | 163 | { |
177 | | - "name": "ci-ubuntu-clang-debug", |
178 | | - "configurePreset": "ci-ubuntu-clang-debug", |
| 164 | + "name": "ci-macos-gcc-debug", |
| 165 | + "configurePreset": "ci-macos-gcc-debug", |
179 | 166 | "inherits": ["output-on-failure"] |
180 | 167 | }, |
181 | 168 | { |
182 | | - "name": "ci-macos-clang-release", |
183 | | - "configurePreset": "ci-macos-clang-release", |
| 169 | + "name": "ci-macos-gcc-release", |
| 170 | + "configurePreset": "ci-macos-gcc-release", |
184 | 171 | "inherits": ["output-on-failure"] |
185 | 172 | }, |
186 | 173 | { |
187 | | - "name": "ci-macos-clang-debug", |
188 | | - "configurePreset": "ci-macos-clang-debug", |
| 174 | + "name": "ci-ubuntu-clang-release", |
| 175 | + "configurePreset": "ci-ubuntu-clang-release", |
189 | 176 | "inherits": ["output-on-failure"] |
190 | 177 | } |
191 | 178 | ], |
192 | 179 | "workflowPresets": [ |
193 | 180 | { |
194 | | - "name": "ci-ubuntu-gcc-release", |
195 | | - "steps": [ |
196 | | - { |
197 | | - "type": "configure", |
198 | | - "name": "ci-ubuntu-gcc-release" |
199 | | - }, |
200 | | - { |
201 | | - "type": "build", |
202 | | - "name": "ci-ubuntu-gcc-release" |
203 | | - }, |
204 | | - { |
205 | | - "type": "test", |
206 | | - "name": "ci-ubuntu-gcc-release" |
207 | | - } |
208 | | - ] |
209 | | - }, |
210 | | - { |
211 | | - "name": "ci-ubuntu-gcc-debug", |
| 181 | + "name": "ci-macos-clang-debug", |
212 | 182 | "steps": [ |
213 | 183 | { |
214 | 184 | "type": "configure", |
215 | | - "name": "ci-ubuntu-gcc-debug" |
| 185 | + "name": "ci-macos-clang-debug" |
216 | 186 | }, |
217 | 187 | { |
218 | 188 | "type": "build", |
219 | | - "name": "ci-ubuntu-gcc-debug" |
| 189 | + "name": "ci-macos-clang-debug" |
220 | 190 | }, |
221 | 191 | { |
222 | 192 | "type": "test", |
223 | | - "name": "ci-ubuntu-gcc-debug" |
| 193 | + "name": "ci-macos-clang-debug" |
224 | 194 | } |
225 | 195 | ] |
226 | 196 | }, |
227 | 197 | { |
228 | | - "name": "ci-ubuntu-clang-release", |
| 198 | + "name": "ci-macos-clang-release", |
229 | 199 | "steps": [ |
230 | 200 | { |
231 | 201 | "type": "configure", |
232 | | - "name": "ci-ubuntu-clang-release" |
| 202 | + "name": "ci-macos-clang-release" |
233 | 203 | }, |
234 | 204 | { |
235 | 205 | "type": "build", |
236 | | - "name": "ci-ubuntu-clang-release" |
| 206 | + "name": "ci-macos-clang-release" |
237 | 207 | }, |
238 | 208 | { |
239 | 209 | "type": "test", |
240 | | - "name": "ci-ubuntu-clang-release" |
| 210 | + "name": "ci-macos-clang-release" |
241 | 211 | } |
242 | 212 | ] |
243 | 213 | }, |
244 | 214 | { |
245 | | - "name": "ci-ubuntu-clang-debug", |
| 215 | + "name": "ci-macos-gcc-debug", |
246 | 216 | "steps": [ |
247 | 217 | { |
248 | 218 | "type": "configure", |
249 | | - "name": "ci-ubuntu-clang-debug" |
| 219 | + "name": "ci-macos-gcc-debug" |
250 | 220 | }, |
251 | 221 | { |
252 | 222 | "type": "build", |
253 | | - "name": "ci-ubuntu-clang-debug" |
| 223 | + "name": "ci-macos-gcc-debug" |
254 | 224 | }, |
255 | 225 | { |
256 | 226 | "type": "test", |
257 | | - "name": "ci-ubuntu-clang-debug" |
| 227 | + "name": "ci-macos-gcc-debug" |
258 | 228 | } |
259 | 229 | ] |
260 | 230 | }, |
261 | 231 | { |
262 | | - "name": "ci-macos-clang-release", |
| 232 | + "name": "ci-macos-gcc-release", |
263 | 233 | "steps": [ |
264 | 234 | { |
265 | 235 | "type": "configure", |
266 | | - "name": "ci-macos-clang-release" |
| 236 | + "name": "ci-macos-gcc-release" |
267 | 237 | }, |
268 | 238 | { |
269 | 239 | "type": "build", |
270 | | - "name": "ci-macos-clang-release" |
| 240 | + "name": "ci-macos-gcc-release" |
271 | 241 | }, |
272 | 242 | { |
273 | 243 | "type": "test", |
274 | | - "name": "ci-macos-clang-release" |
| 244 | + "name": "ci-macos-gcc-release" |
275 | 245 | } |
276 | 246 | ] |
277 | 247 | }, |
278 | 248 | { |
279 | | - "name": "ci-macos-clang-debug", |
| 249 | + "name": "ci-ubuntu-clang-release", |
280 | 250 | "steps": [ |
281 | 251 | { |
282 | 252 | "type": "configure", |
283 | | - "name": "ci-macos-clang-debug" |
| 253 | + "name": "ci-ubuntu-clang-release" |
284 | 254 | }, |
285 | 255 | { |
286 | 256 | "type": "build", |
287 | | - "name": "ci-macos-clang-debug" |
| 257 | + "name": "ci-ubuntu-clang-release" |
288 | 258 | }, |
289 | 259 | { |
290 | 260 | "type": "test", |
291 | | - "name": "ci-macos-clang-debug" |
| 261 | + "name": "ci-ubuntu-clang-release" |
292 | 262 | } |
293 | 263 | ] |
294 | 264 | } |
|
0 commit comments