Skip to content

Commit

Permalink
Try another way to test Bazel builds
Browse files Browse the repository at this point in the history
  • Loading branch information
acozzette committed Oct 20, 2021
1 parent e2235a8 commit e09cdf6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion kokoro/linux/bazel/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,13 @@ bazel test -k --copt=-Werror --host_copt=-Werror \
@com_google_protobuf//:cc_proto_blacklist_test
trap - EXIT

cd examples
pushd examples
bazel build //...
popd

# Verify that we can build successfully from generated tar files.
./autogen.sh && ./configure && make -j$(nproc) dist
DIST=`ls *.tar.gz`
tar -xf $DIST
cd ${DIST//.tar.gz}
bazel build //:protobuf //:protobuf_java

0 comments on commit e09cdf6

Please sign in to comment.