@@ -147,6 +147,14 @@ tasks:
147
147
<< : *reusable_config
148
148
name : " Default: Debian"
149
149
platform : debian11
150
+ build_flags :
151
+ # For protobuf compilation
152
+ - ' --host_copt=-Wno-deprecated-declarations'
153
+ - ' --copt=-Wno-deprecated-declarations'
154
+ test_flags :
155
+ # For protobuf compilation
156
+ - ' --host_copt=-Wno-deprecated-declarations'
157
+ - ' --copt=-Wno-deprecated-declarations'
150
158
macos :
151
159
<< : *reusable_config
152
160
name : " Default: MacOS"
@@ -169,19 +177,39 @@ tasks:
169
177
# build kite cc toolchain.
170
178
- " --extra_toolchains=@buildkite_config//config:cc-toolchain"
171
179
- " --build_tag_filters=-docs"
180
+ build_targets :
181
+ - " --"
182
+ - " ..."
183
+ - ' -//sphinxdocs/...' # protobuf compilation fails
172
184
test_flags :
173
185
- " --test_tag_filters=-integration-test,-acceptance-test,-docs"
174
186
# BazelCI sets --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1,
175
187
# which prevents cc toolchain autodetection from working correctly
176
188
# on Bazel 5.4 and earlier. To workaround this, manually specify the
177
189
# build kite cc toolchain.
178
190
- " --extra_toolchains=@buildkite_config//config:cc-toolchain"
191
+ test_targets :
192
+ - " --"
193
+ - " ..."
194
+ - ' -//sphinxdocs/...' # protobuf compilation fails
179
195
rbe :
180
196
<< : *reusable_config
181
197
name : " RBE: Ubuntu"
182
198
platform : rbe_ubuntu1604
199
+ build_flags :
200
+ - " --build_tag_filters=-docs"
201
+ build_targets :
202
+ - " --"
203
+ - " ..."
204
+ - ' -//sphinxdocs/...' # protobuf compilation fails
205
+ - ' -//docs/...'
183
206
test_flags :
184
- - " --test_tag_filters=-integration-test,-acceptance-test"
207
+ - " --test_tag_filters=-integration-test,-acceptance-test,-docs"
208
+ test_targets :
209
+ - " --"
210
+ - " ..."
211
+ - ' -//sphinxdocs/...' # protobuf compilation fails
212
+ - ' -//docs/...'
185
213
186
214
integration_test_build_file_generation_ubuntu_minimum_supported_workspace :
187
215
<< : *minimum_supported_version
@@ -234,6 +262,21 @@ tasks:
234
262
name : " examples/bzlmod: Debian"
235
263
working_directory : examples/bzlmod
236
264
platform : debian11
265
+ build_targets :
266
+ # For protobuf compilation
267
+ - " --"
268
+ - " ..."
269
+ - " -//py_proto_library/..."
270
+ test_targets :
271
+ # For protobuf compilation
272
+ - " --"
273
+ - " ..."
274
+ - " -//py_proto_library/..."
275
+ coverage_targets :
276
+ # For protobuf compilation
277
+ - " --"
278
+ - " ..."
279
+ - " -//py_proto_library/..."
237
280
integration_test_bzlmod_macos :
238
281
<< : *reusable_build_test_all
239
282
<< : *coverage_targets_example_bzlmod
@@ -395,6 +438,14 @@ tasks:
395
438
name : " examples/py_proto_library: Debian, workspace"
396
439
working_directory : examples/py_proto_library
397
440
platform : debian11
441
+ build_flags :
442
+ # For protobuf compilation
443
+ - ' --host_copt=-Wno-deprecated-declarations'
444
+ - ' --copt=-Wno-deprecated-declarations'
445
+ test_flags :
446
+ # For protobuf compilation
447
+ - ' --host_copt=-Wno-deprecated-declarations'
448
+ - ' --copt=-Wno-deprecated-declarations'
398
449
integration_test_py_proto_library_macos_workspace :
399
450
<< : *reusable_build_test_all
400
451
<< : *common_workspace_flags
0 commit comments