mirror of https://github.com/bazelbuild/rules_cc
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: 684771349 Change-Id: Iba8807531e2c5465f1378bc384359be439373bf6
This commit is contained in:
parent
ae44550707
commit
ba3ec91a55
|
@ -65,6 +65,8 @@ tasks:
|
|||
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"
|
||||
|
@ -77,12 +79,16 @@ tasks:
|
|||
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
|
||||
|
||||
|
@ -91,18 +97,24 @@ tasks:
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue