|
17 | 17 | "BUILD_STATIC_LIBRARY": "ON", |
18 | 18 | "SPEED_UP_BUILD_UNITY": "ON", |
19 | 19 | "OPTIONS_ENABLE_SCCACHE": "ON", |
20 | | - "CMAKE_BUILD_TYPE": "RelWithDebInfo" |
| 20 | + "CMAKE_BUILD_TYPE": "RelWithDebInfo", |
| 21 | + "BUILD_TESTING": "OFF" |
21 | 22 | } |
22 | 23 | }, |
23 | 24 | { |
|
26 | 27 | "displayName": "Windows - Release", |
27 | 28 | "description": "Windows Release Build", |
28 | 29 | "cacheVariables": { |
29 | | - "VCPKG_TARGET_TRIPLET": "x64-windows-static" |
| 30 | + "VCPKG_TARGET_TRIPLET": "x64-windows-static", |
| 31 | + "BUILD_TESTING": "OFF" |
30 | 32 | }, |
31 | 33 | "architecture": { |
32 | 34 | "value": "x64", |
|
42 | 44 | "ASAN_ENABLED": "ON", |
43 | 45 | "DEBUG_LOG": "ON", |
44 | 46 | "BUILD_STATIC_LIBRARY": "OFF", |
45 | | - "VCPKG_TARGET_TRIPLET": "x64-windows" |
| 47 | + "VCPKG_TARGET_TRIPLET": "x64-windows", |
| 48 | + "BUILD_TESTING": "ON" |
46 | 49 | } |
47 | 50 | }, |
48 | 51 | { |
|
56 | 59 | "ASAN_ENABLED": "OFF", |
57 | 60 | "BUILD_STATIC_LIBRARY": "OFF", |
58 | 61 | "SPEED_UP_BUILD_UNITY": "OFF", |
59 | | - "VCPKG_TARGET_TRIPLET": "x64-windows" |
| 62 | + "VCPKG_TARGET_TRIPLET": "x64-windows", |
| 63 | + "BUILD_TESTING": "ON" |
60 | 64 | } |
61 | 65 | }, |
62 | 66 | { |
|
69 | 73 | "value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake", |
70 | 74 | "type": "FILEPATH" |
71 | 75 | }, |
72 | | - "RUN_TESTS_AFTER_BUILD": "OFF" |
| 76 | + "BUILD_TESTING": "OFF" |
73 | 77 | }, |
74 | 78 | "condition": { |
75 | 79 | "type": "equals", |
|
80 | 84 | { |
81 | 85 | "name": "linux-debug", |
82 | 86 | "inherits": "linux-release", |
83 | | - "displayName": "Linux - Debug Build", |
| 87 | + "displayName": "Linux - Debug", |
84 | 88 | "description": "Build Debug Mode", |
85 | 89 | "cacheVariables": { |
86 | 90 | "CMAKE_BUILD_TYPE": "Debug", |
87 | 91 | "CMAKE_EXPORT_COMPILE_COMMANDS": "ON", |
88 | 92 | "DEBUG_LOG": "ON", |
89 | | - "SPEED_UP_BUILD_UNITY": "OFF" |
| 93 | + "SPEED_UP_BUILD_UNITY": "OFF", |
| 94 | + "BUILD_TESTING": "ON" |
90 | 95 | } |
91 | 96 | }, |
92 | 97 | { |
93 | 98 | "name": "linux-debug-asan", |
94 | 99 | "inherits": "linux-release", |
95 | | - "displayName": "Linux - Debug Build", |
| 100 | + "displayName": "Linux - Debug w/ Address Sanitizer", |
96 | 101 | "description": "Build Debug Mode With ASAN Enable", |
97 | 102 | "cacheVariables": { |
98 | 103 | "CMAKE_BUILD_TYPE": "Debug", |
99 | 104 | "DEBUG_LOG": "ON", |
100 | 105 | "ASAN_ENABLED": "ON", |
101 | | - "SPEED_UP_BUILD_UNITY": "OFF" |
102 | | - } |
103 | | - }, |
104 | | - { |
105 | | - "name": "linux-test", |
106 | | - "inherits": "linux-release", |
107 | | - "displayName": "Linux - Test Build", |
108 | | - "description": "Build Tests", |
109 | | - "cacheVariables": { |
110 | | - "BUILD_TESTS": "ON" |
| 106 | + "SPEED_UP_BUILD_UNITY": "OFF", |
| 107 | + "BUILD_TESTING": "ON" |
111 | 108 | } |
112 | 109 | }, |
113 | 110 | { |
|
120 | 117 | "CMAKE_C_COMPILER": "/usr/bin/clang", |
121 | 118 | "DEBUG_LOG": "ON", |
122 | 119 | "VCPKG_TARGET_TRIPLET": "arm64-osx", |
123 | | - "RUN_TESTS_AFTER_BUILD": "OFF" |
| 120 | + "BUILD_TESTING": "OFF" |
124 | 121 | }, |
125 | 122 | "condition": { |
126 | 123 | "type": "equals", |
|
131 | 128 | { |
132 | 129 | "name": "macos-debug", |
133 | 130 | "inherits": "macos-release", |
134 | | - "displayName": "macOS - Debug Build", |
| 131 | + "displayName": "macOS - Debug", |
135 | 132 | "description": "macOS Debug Build with Apple Clang", |
136 | 133 | "cacheVariables": { |
137 | 134 | "CMAKE_BUILD_TYPE": "Debug", |
138 | 135 | "CMAKE_EXPORT_COMPILE_COMMANDS": "ON", |
139 | 136 | "DEBUG_LOG": "ON", |
140 | 137 | "BUILD_STATIC_LIBRARY": "OFF", |
141 | | - "SPEED_UP_BUILD_UNITY": "OFF" |
142 | | - } |
143 | | - }, |
144 | | - { |
145 | | - "name": "macos-test", |
146 | | - "inherits": "macos-release", |
147 | | - "displayName": "macOS - Test Build", |
148 | | - "description": "macOS Build with Tests", |
149 | | - "cacheVariables": { |
150 | | - "BUILD_TESTS": "ON" |
| 138 | + "SPEED_UP_BUILD_UNITY": "OFF", |
| 139 | + "BUILD_TESTING": "ON" |
151 | 140 | } |
152 | 141 | } |
153 | 142 | ], |
154 | 143 | "buildPresets": [ |
| 144 | + { "name": "linux-release", "configurePreset": "linux-release" }, |
| 145 | + { "name": "linux-debug", "configurePreset": "linux-debug" }, |
| 146 | + { "name": "windows-release", "configurePreset": "windows-release" }, |
155 | 147 | { |
156 | | - "name": "linux-release", |
157 | | - "configurePreset": "linux-release" |
158 | | - }, |
159 | | - { |
160 | | - "name": "linux-debug", |
161 | | - "configurePreset": "linux-debug" |
162 | | - }, |
163 | | - { |
164 | | - "name": "linux-test", |
165 | | - "configurePreset": "linux-test" |
166 | | - }, |
167 | | - { |
168 | | - "name": "windows-release", |
169 | | - "configurePreset": "windows-release" |
| 148 | + "name": "windows-release-asan", |
| 149 | + "configurePreset": "windows-release-asan" |
170 | 150 | }, |
| 151 | + { "name": "windows-debug", "configurePreset": "windows-debug" }, |
| 152 | + { "name": "macos-release", "configurePreset": "macos-release" }, |
| 153 | + { "name": "macos-debug", "configurePreset": "macos-debug" } |
| 154 | + ], |
| 155 | + "testPresets": [ |
171 | 156 | { |
172 | 157 | "name": "windows-release-asan", |
173 | | - "configurePreset": "windows-release-asan" |
| 158 | + "configurePreset": "windows-release-asan", |
| 159 | + "output": { "outputOnFailure": true }, |
| 160 | + "execution": { "noTestsAction": "error" } |
174 | 161 | }, |
175 | 162 | { |
176 | | - "name": "windows-Xdebug", |
177 | | - "configurePreset": "windows-debug" |
| 163 | + "name": "windows-debug", |
| 164 | + "configurePreset": "windows-debug", |
| 165 | + "output": { "outputOnFailure": true }, |
| 166 | + "execution": { "noTestsAction": "error" } |
178 | 167 | }, |
179 | 168 | { |
180 | | - "name": "macos-release", |
181 | | - "configurePreset": "macos-release" |
| 169 | + "name": "linux-debug", |
| 170 | + "configurePreset": "linux-debug", |
| 171 | + "output": { "outputOnFailure": true }, |
| 172 | + "execution": { "noTestsAction": "error" } |
182 | 173 | }, |
183 | 174 | { |
184 | | - "name": "macos-debug", |
185 | | - "configurePreset": "macos-debug" |
| 175 | + "name": "linux-debug-asan", |
| 176 | + "configurePreset": "linux-debug-asan", |
| 177 | + "output": { "outputOnFailure": true }, |
| 178 | + "execution": { "noTestsAction": "error" } |
186 | 179 | }, |
187 | 180 | { |
188 | | - "name": "macos-test", |
189 | | - "configurePreset": "macos-test" |
| 181 | + "name": "macos-debug", |
| 182 | + "configurePreset": "macos-debug", |
| 183 | + "output": { "outputOnFailure": true }, |
| 184 | + "execution": { "noTestsAction": "error" } |
190 | 185 | } |
191 | 186 | ] |
192 | 187 | } |
0 commit comments