|
8 | 8 | "configurePresets": [ |
9 | 9 | { |
10 | 10 | "name": "base", |
11 | | - "hidden": true, |
| 11 | + "displayName": "Generic Config", |
12 | 12 | "cacheVariables": { |
13 | 13 | "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" |
14 | 14 | }, |
|
55 | 55 | "cacheVariables": { |
56 | 56 | "YDB_SDK_TESTS": "TRUE", |
57 | 57 | "YDB_SDK_EXAMPLES": "TRUE", |
58 | | - "ARCADIA_ROOT": "../ydb-cpp-sdk", |
| 58 | + "ARCADIA_ROOT": "..", |
59 | 59 | "ARCADIA_BUILD_ROOT": "." |
60 | 60 | } |
61 | 61 | }, |
62 | 62 | { |
63 | 63 | "name": "release-clang", |
64 | | - "inherits": [ |
65 | | - "release-base", |
66 | | - "clang-toolchain" |
67 | | - ], |
68 | | - "displayName": "Default Release Config (Clang)", |
69 | | - "description": "Default release build configuration using Ninja generator and Clang compiler" |
| 64 | + "inherits": ["release-base", "clang-toolchain"], |
| 65 | + "displayName": "Default Release Config (Clang)" |
70 | 66 | }, |
71 | 67 | { |
72 | 68 | "name": "release-gcc", |
73 | | - "inherits": [ |
74 | | - "release-base", |
75 | | - "gcc-toolchain" |
76 | | - ], |
77 | | - "displayName": "Default Release Config (GCC)", |
78 | | - "description": "Default release build configuration using Ninja generator and GCC compiler" |
| 69 | + "inherits": ["release-base", "gcc-toolchain"], |
| 70 | + "displayName": "Default Release Config (GCC)" |
79 | 71 | }, |
80 | 72 | { |
81 | 73 | "name": "release-test-clang", |
82 | | - "inherits": ["release-clang", "test"], |
83 | | - "displayName": "Default Release Test Config (Clang)", |
84 | | - "description": "Default release build configuration with all tests and examples" |
| 74 | + "inherits": ["release-base", "clang-toolchain", "test"], |
| 75 | + "displayName": "Default Release Test Config (Clang)" |
85 | 76 | }, |
86 | 77 | { |
87 | 78 | "name": "release-test-gcc", |
88 | | - "inherits": ["release-gcc", "test"], |
89 | | - "displayName": "Default Release Test Config (GCC)", |
90 | | - "description": "Default release build configuration with all tests and examples using GCC" |
| 79 | + "inherits": ["release-base", "gcc-toolchain", "test"], |
| 80 | + "displayName": "Default Release Test Config (GCC)" |
91 | 81 | } |
92 | 82 | ], |
93 | 83 | "buildPresets": [ |
94 | 84 | { |
95 | | - "name": "release-clang", |
96 | | - "configurePreset": "release-clang", |
97 | | - "displayName": "Default Release Build (Clang)" |
98 | | - }, |
99 | | - { |
100 | | - "name": "release-gcc", |
101 | | - "configurePreset": "release-gcc", |
102 | | - "displayName": "Default Release Build (GCC)" |
| 85 | + "name": "default", |
| 86 | + "displayName": "Default Build", |
| 87 | + "configurePreset": "base" |
103 | 88 | } |
104 | 89 | ], |
105 | 90 | "testPresets": [ |
|
113 | 98 | "timeout": 1200 |
114 | 99 | } |
115 | 100 | }, |
| 101 | + { |
| 102 | + "name": "all", |
| 103 | + "displayName": "Run All Tests", |
| 104 | + "configurePreset": "base" |
| 105 | + }, |
116 | 106 | { |
117 | 107 | "name": "unit", |
118 | | - "hidden": true, |
| 108 | + "displayName": "Run Unit Tests", |
| 109 | + "configurePreset": "base", |
119 | 110 | "filter": { |
120 | 111 | "include": { |
121 | 112 | "label": "unit" |
|
124 | 115 | }, |
125 | 116 | { |
126 | 117 | "name": "integration", |
127 | | - "hidden": true, |
| 118 | + "displayName": "Run Integration Tests", |
| 119 | + "configurePreset": "base", |
128 | 120 | "filter": { |
129 | 121 | "include": { |
130 | 122 | "label": "integration" |
|
134 | 126 | "YDB_ENDPOINT": "localhost:2136", |
135 | 127 | "YDB_DATABASE": "/local" |
136 | 128 | } |
137 | | - }, |
138 | | - { |
139 | | - "name": "release-clang", |
140 | | - "inherits": ["common", "unit", "integration"], |
141 | | - "configurePreset": "release-test-clang", |
142 | | - "displayName": "Default Release Tests (Clang)" |
143 | | - }, |
144 | | - { |
145 | | - "name": "release-unit-clang", |
146 | | - "inherits": ["common", "unit"], |
147 | | - "configurePreset": "release-test-clang", |
148 | | - "displayName": "Default Unit Release Tests (Clang)" |
149 | | - }, |
150 | | - { |
151 | | - "name": "release-integration-clang", |
152 | | - "inherits": ["common", "integration"], |
153 | | - "configurePreset": "release-test-clang", |
154 | | - "displayName": "Default Integration Release Tests (Clang)" |
155 | | - }, |
156 | | - { |
157 | | - "name": "release-gcc", |
158 | | - "inherits": ["common", "unit", "integration"], |
159 | | - "configurePreset": "release-gcc", |
160 | | - "displayName": "Default Release Tests (GCC)" |
161 | | - }, |
162 | | - { |
163 | | - "name": "release-unit-gcc", |
164 | | - "inherits": ["common", "unit"], |
165 | | - "configurePreset": "release-test-gcc", |
166 | | - "displayName": "Default Unit Release Tests (GCC)" |
167 | | - }, |
168 | | - { |
169 | | - "name": "release-integration-gcc", |
170 | | - "inherits": ["common", "integration"], |
171 | | - "configurePreset": "release-test-gcc", |
172 | | - "displayName": "Default Integration Release Tests (GCC)" |
173 | 129 | } |
174 | 130 | ] |
175 | 131 | } |
0 commit comments