Skip to content

Commit

Permalink
Add -Werror to Bazel presubmits
Browse files Browse the repository at this point in the history
This avoids issues like google#717.
  • Loading branch information
drigz committed Oct 7, 2021
1 parent 5652319 commit 321ebb1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,23 @@ platforms:
ubuntu1804:
build_flags:
- "--features=layering_check"
- "-Werror"
build_targets:
- "//..."
test_flags:
- "--features=layering_check"
- "-Werror"
test_targets:
- "//..."
macos:
build_flags:
- "--features=layering_check"
- "-Werror"
build_targets:
- "//..."
test_flags:
- "--features=layering_check"
- "-Werror"
test_targets:
- "//..."
windows:
Expand All @@ -24,9 +28,11 @@ platforms:
BAZEL_VC: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC"
build_flags:
- "--features=layering_check"
- "-Werror"
build_targets:
- "//..."
test_flags:
- "--features=layering_check"
- "-Werror"
test_targets:
- "//..."

0 comments on commit 321ebb1

Please sign in to comment.