[Bazel] Explicitly build with -Werror
In https://reviews.llvm.org/D123481 we're removing this from the default builds, but we still want it in CI builds where we know the platform and compiler configuration.
This commit is contained in:
parent
18227f403b
commit
fbffc10faf
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ def bazel(modified_files: Set[str], force: bool = False) -> List:
|
||||||
'commands': [
|
'commands': [
|
||||||
'set -eu',
|
'set -eu',
|
||||||
'cd utils/bazel',
|
'cd utils/bazel',
|
||||||
'bazel query //... + @llvm-project//... | xargs bazel test --config=generic_clang --config=rbe --test_output=errors --test_tag_filters=-nobuildkite --build_tag_filters=-nobuildkite',
|
'bazel query //... + @llvm-project//... | xargs bazel test --config=generic_clang --config=rbe --copt=-Werror --host_copt=-Werror --test_output=errors --test_tag_filters=-nobuildkite --build_tag_filters=-nobuildkite',
|
||||||
],
|
],
|
||||||
'agents': agents,
|
'agents': agents,
|
||||||
'timeout_in_minutes': 120,
|
'timeout_in_minutes': 120,
|
||||||
|
|
Loading…
Reference in a new issue