Jelajahi Sumber

Add -Werror for CI builds

Keith Smiley 6 tahun lalu
induk
melakukan
1958925c76
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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