Automated rollback of commit ba3ec91a5592f749ac3b19d0195fa40089f1bd66.
*** Reason for rollback ***
This seems to be causing failures on Google rules_cc presubmit (the internal one).
https://buildkite.com/bazel/google-rules-cc-presubmit/builds/944#019514c9-bf66-4f69-ad0b-b0f04e182de1
*** Original change description ***
Enable cquery in GitHub CI
BEGIN_PUBLIC
Enable cquery in GitHub CI
This will prevent incompatible targets from being built and tested.
END_PUBLIC
***
PiperOrigin-RevId: 727883315
Change-Id: Ia557c37847450e6748002da74f1de1cef4ffefb9
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml
index 4e62d66..d8b8c67 100644
--- a/.bazelci/presubmit.yml
+++ b/.bazelci/presubmit.yml
@@ -71,8 +71,6 @@
name: Ubuntu 20.04 (Bazel HEAD)
bazel: last_green
platform: ubuntu2004
- environment:
- EXP_USE_CQUERY: 1 # Don't build incompatible targets
build_targets: *build_targets
test_targets:
- "//:all"
@@ -85,16 +83,12 @@
name: MacOS (Bazel HEAD)
bazel: last_green
platform: macos
- environment:
- EXP_USE_CQUERY: 1 # Don't build incompatible targets
build_targets: *build_targets
test_targets: *test_targets
windows_head:
name: Windows (Bazel HEAD)
bazel: last_green
platform: macos
- environment:
- EXP_USE_CQUERY: 1 # Don't build incompatible targets
build_targets: *build_targets
test_targets: *test_targets
@@ -103,24 +97,18 @@
name: Ubuntu 20.04 (Bazel 6)
bazel: 6.3.0
platform: ubuntu2004
- environment:
- EXP_USE_CQUERY: 1 # Don't build incompatible targets
build_targets: *build_targets_bazel_6
test_targets: *test_targets_bazel_6
macos_bazel_6:
name: MacOS (Bazel 6)
bazel: 6.3.0
platform: macos
- environment:
- EXP_USE_CQUERY: 1 # Don't build incompatible targets
build_targets: *build_targets_bazel_6
test_targets: *test_targets_bazel_6
windows_bazel_6:
name: Windows (Bazel 6)
bazel: 6.3.0
platform: macos
- environment:
- EXP_USE_CQUERY: 1 # Don't build incompatible targets
build_targets: *build_targets_bazel_6
test_targets: *test_targets_bazel_6