diff options
Diffstat (limited to 'grpc/tools/internal_ci/linux/grpc_bazel_build_in_docker.sh')
-rwxr-xr-x | grpc/tools/internal_ci/linux/grpc_bazel_build_in_docker.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/grpc/tools/internal_ci/linux/grpc_bazel_build_in_docker.sh b/grpc/tools/internal_ci/linux/grpc_bazel_build_in_docker.sh index 60d5fc3c..623086ae 100755 --- a/grpc/tools/internal_ci/linux/grpc_bazel_build_in_docker.sh +++ b/grpc/tools/internal_ci/linux/grpc_bazel_build_in_docker.sh @@ -25,7 +25,14 @@ git clone /var/local/jenkins/grpc /var/local/git/grpc ${name}') cd /var/local/git/grpc -bazel build :all //test/... //examples/... +# Build all basic targets using the strict warning option which leverages the +# clang compiler to check if sources can pass a set of warning options. +bazel build --define=use_strict_warning=true \ + :all \ + //src/core/... \ + //src/compiler/... \ + //test/... \ + //examples/... # TODO(jtattersmusch): Adding a build here for --define=grpc_no_xds is not ideal # and we should find a better place for this. Refer |