Explorar o código

Add -Werror for CI builds

Keith Smiley %!s(int64=6) %!d(string=hai) anos
pai
achega
1958925c76
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      kokoro/linux/bazel/build.sh

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

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