Explorar el Código

Add -Werror for CI builds

Keith Smiley hace 6 años
padre
commit
1958925c76
Se han modificado 1 ficheros con 1 adiciones y 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)/../../..
 
 git submodule update --init --recursive
-bazel test :protobuf_test
+bazel test :protobuf_test --copt=-Werror --host_copt=-Werror
 
 cd examples
 bazel build :all