|
10 | 10 | ], |
11 | 11 | "configurePresets": [ |
12 | 12 | { |
13 | | - "name": "coverage", |
14 | | - "inherits": "debug", |
15 | | - "displayName": "Coverage", |
| 13 | + "name": "linux", |
| 14 | + "hidden": true, |
16 | 15 | "description": "This is only available on Linux", |
17 | 16 | "condition": { |
18 | 17 | "type": "equals", |
19 | 18 | "lhs": "${hostSystemName}", |
20 | 19 | "rhs": "Linux" |
21 | | - }, |
| 20 | + } |
| 21 | + }, |
| 22 | + { |
| 23 | + "name": "coverage", |
| 24 | + "inherits": ["debug", "linux"], |
| 25 | + "displayName": "Coverage", |
| 26 | + "description": "This is only available on Linux", |
22 | 27 | "cacheVariables": { |
23 | 28 | "JWT_BUILD_TESTS": "ON", |
24 | 29 | "JWT_ENABLE_COVERAGE": "ON" |
25 | 30 | } |
26 | 31 | }, |
27 | 32 | { |
28 | 33 | "name": "ci-fuzzing", |
29 | | - "inherits": "debug", |
| 34 | + "inherits": ["debug", "linux"], |
30 | 35 | "displayName": "Fuzz Testing", |
31 | 36 | "description": "This is only available on Linux with Clang", |
32 | | - "condition": { |
33 | | - "type": "equals", |
34 | | - "lhs": "${hostSystemName}", |
35 | | - "rhs": "Linux" |
36 | | - }, |
37 | 37 | "cacheVariables": { |
38 | 38 | "JWT_ENABLE_FUZZING": "ON", |
39 | 39 | "CMAKE_C_COMPILER": "clang", |
|
42 | 42 | }, |
43 | 43 | { |
44 | 44 | "name": "ci-asan", |
45 | | - "inherits": "debug", |
| 45 | + "inherits": ["debug", "linux"], |
46 | 46 | "displayName": "Address/Leak Sanitizer", |
47 | 47 | "description": "This is only available on Linux", |
48 | | - "condition": { |
49 | | - "type": "equals", |
50 | | - "lhs": "${hostSystemName}", |
51 | | - "rhs": "Linux" |
52 | | - }, |
53 | 48 | "environment": { |
54 | 49 | "ASAN_FLAGS": "-fsanitize=address -fsanitize=leak", |
55 | 50 | "ASAN_OPTIONS": "check_initialization_order=true:detect_stack_use_after_return=true:fast_unwind_on_malloc=0" |
|
65 | 60 | }, |
66 | 61 | { |
67 | 62 | "name": "ci-ubsan", |
68 | | - "inherits": "debug", |
| 63 | + "inherits": ["debug", "linux"], |
69 | 64 | "displayName": "Undefined Behavior Sanitizer", |
70 | 65 | "description": "This is only available on Linux", |
71 | | - "condition": { |
72 | | - "type": "equals", |
73 | | - "lhs": "${hostSystemName}", |
74 | | - "rhs": "Linux" |
75 | | - }, |
76 | 66 | "environment": { |
77 | 67 | "UBSAN_FLAGS": "-fsanitize=undefined -fsanitize=return -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fno-sanitize-recover=all", |
78 | 68 | "UBSAN_OPTIONS": "print_stacktrace=1" |
|
0 commit comments