فهرست منبع

Add kokoro configs for bazel build.

Feng Xiao 7 سال پیش
والد
کامیت
ffc8b35c83
3فایلهای تغییر یافته به همراه19 افزوده شده و 0 حذف شده
  1. 9 0
      kokoro/linux/bazel/build.sh
  2. 5 0
      kokoro/linux/bazel/continuous.cfg
  3. 5 0
      kokoro/linux/bazel/presubmit.cfg

+ 9 - 0
kokoro/linux/bazel/build.sh

@@ -0,0 +1,9 @@
+#!/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

+ 5 - 0
kokoro/linux/bazel/continuous.cfg

@@ -0,0 +1,5 @@
+# Config file for running tests in Kokoro
+
+# Location of the build script in repository
+build_file: "protobuf/kokoro/linux/bazel/build.sh"
+timeout_mins: 15

+ 5 - 0
kokoro/linux/bazel/presubmit.cfg

@@ -0,0 +1,5 @@
+# Config file for running tests in Kokoro
+
+# Location of the build script in repository
+build_file: "protobuf/kokoro/linux/bazel/build.sh"
+timeout_mins: 15