aboutsummaryrefslogtreecommitdiff
path: root/kokoro/linux/bazel/build.sh
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2018-07-11 16:34:58 -0700
committerFeng Xiao <xfxyjwf@gmail.com>2018-07-11 16:34:58 -0700
commitb5975c109aeb3d4f77d662e7b7222b87c653c69d (patch)
tree7a9ef8020774d01df2f1c269a3b7b80376f6193d /kokoro/linux/bazel/build.sh
parent4a4a60bf934b6c60862640afceb7f2d99890f7e3 (diff)
downloadprotobuf-b5975c109aeb3d4f77d662e7b7222b87c653c69d.tar.gz
protobuf-b5975c109aeb3d4f77d662e7b7222b87c653c69d.tar.bz2
protobuf-b5975c109aeb3d4f77d662e7b7222b87c653c69d.zip
Add kokoro bazel configs for 3.6.x branch.
Diffstat (limited to 'kokoro/linux/bazel/build.sh')
-rwxr-xr-xkokoro/linux/bazel/build.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/kokoro/linux/bazel/build.sh b/kokoro/linux/bazel/build.sh
new file mode 100755
index 00000000..e0c1ee42
--- /dev/null
+++ b/kokoro/linux/bazel/build.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+#
+# Build file to set up and run tests
+
+# Change to repo root
+cd $(dirname $0)/../../..
+
+git submodule update --init --recursive
+bazel test :protobuf_test
+
+cd examples
+bazel build :all