Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
82019f90
Unverified
Commit
82019f90
authored
Jul 12, 2018
by
Feng Xiao
Committed by
GitHub
Jul 12, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4900 from xfxyjwf/3.6.x
Add kokoro bazel configs to 3.6.x branch.
parents
4a4a60bf
0e38f9ee
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
2 deletions
+32
-2
WORKSPACE
examples/WORKSPACE
+10
-2
build.sh
kokoro/linux/bazel/build.sh
+12
-0
continuous.cfg
kokoro/linux/bazel/continuous.cfg
+5
-0
presubmit.cfg
kokoro/linux/bazel/presubmit.cfg
+5
-0
No files found.
examples/WORKSPACE
View file @
82019f90
...
...
@@ -5,8 +5,6 @@ http_archive(
strip_prefix = "protobuf-master",
urls = ["https://github.com/google/protobuf/archive/master.zip"],
)
load("@com_google_protobuf//:protobuf.bzl", "check_protobuf_required_bazel_version")
check_protobuf_required_bazel_version()
# This com_google_protobuf_cc repository is required for cc_proto_library
# rule. It provides protobuf C++ runtime. Note that it actually is the same
...
...
@@ -33,3 +31,13 @@ http_archive(
strip_prefix = "protobuf-javalite",
urls = ["https://github.com/google/protobuf/archive/javalite.zip"],
)
http_archive(
name = "bazel_skylib",
sha256 = "bbccf674aa441c266df9894182d80de104cabd19be98be002f6d478aaa31574d",
strip_prefix = "bazel-skylib-2169ae1c374aab4a09aa90e65efe1a3aad4e279b",
urls = ["https://github.com/bazelbuild/bazel-skylib/archive/2169ae1c374aab4a09aa90e65efe1a3aad4e279b.tar.gz"],
)
load("@bazel_skylib//:lib.bzl", "versions")
versions.check(minimum_bazel_version = "0.5.4")
kokoro/linux/bazel/build.sh
0 → 100755
View file @
82019f90
#!/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
kokoro/linux/bazel/continuous.cfg
0 → 100644
View file @
82019f90
# 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
kokoro/linux/bazel/presubmit.cfg
0 → 100644
View file @
82019f90
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment