aboutsummaryrefslogtreecommitdiff
path: root/kokoro/linux/bazel/build.sh
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2018-07-11 17:39:34 -0700
committerGitHub <noreply@github.com>2018-07-11 17:39:34 -0700
commit82019f90fff5c44477f91084c84b24989a93df7a (patch)
treef99ceb8c62b1229136e82cb34544491475baf0e5 /kokoro/linux/bazel/build.sh
parent4a4a60bf934b6c60862640afceb7f2d99890f7e3 (diff)
parent0e38f9ee1bb98ef3d5b6bff678f265324fc25615 (diff)
downloadprotobuf-82019f90fff5c44477f91084c84b24989a93df7a.tar.gz
protobuf-82019f90fff5c44477f91084c84b24989a93df7a.tar.bz2
protobuf-82019f90fff5c44477f91084c84b24989a93df7a.zip
Merge pull request #4900 from xfxyjwf/3.6.x
Add kokoro bazel configs to 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