浏览代码

Add -Werror for CI builds

Keith Smiley 6 年之前
父节点
当前提交
1958925c76
共有 1 个文件被更改,包括 1 次插入1 次删除
  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