Forráskód Böngészése

Add -Werror for CI builds

Keith Smiley 6 éve
szülő
commit
1958925c76
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      kokoro/linux/bazel/build.sh

+ 1 - 1
kokoro/linux/bazel/build.sh

@@ -7,7 +7,7 @@ set -ex
 cd $(dirname $0)/../../..
 
 git submodule update --init --recursive
-bazel test :protobuf_test
+bazel test :protobuf_test --copt=-Werror --host_copt=-Werror
 
 cd examples
 bazel build :all