Skip to content

Commit

Permalink
Add CI config to test on RBE.
Browse files Browse the repository at this point in the history
  • Loading branch information
xingao267 committed Aug 8, 2018
1 parent 1944c8a commit b0bc954
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ platforms:
- "-@examples//ffi/rust_calling_c:matrix_dylib_test"
- "-@examples//ffi/rust_calling_c:matrix_dynamically_linked"
build_targets: *targets
test_targets: *targets
test_targets: *targets
rbe_ubuntu1604:
test_targets:
- "..."
- "@examples//..."
- "-@examples//hello_runfiles:hello_runfiles_test"
10 changes: 10 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ load(
"git_repository",
"new_git_repository",
)
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

local_repository(
name = "examples",
Expand Down Expand Up @@ -48,3 +49,12 @@ git_repository(
load("@io_bazel_skydoc//skylark:skylark.bzl", "skydoc_repositories")

skydoc_repositories()

http_archive(
name = "bazel_toolchains",
sha256 = "7938215442cc96b1a16809f4643db14af7d91c3ef1e98d39593bb46862204537",
strip_prefix = "bazel-toolchains-809c13c3a96966f63c7a43c586cb4e72589184b6",
urls = [
"https://github.com/bazelbuild/bazel-toolchains/archive/809c13c3a96966f63c7a43c586cb4e72589184b6.tar.gz",
],
)

0 comments on commit b0bc954

Please sign in to comment.