From 4de5af88e0dd4c1b9a01334b4039059ba8819fb4 Mon Sep 17 00:00:00 2001 From: Yannic Bonenberger Date: Thu, 24 Oct 2019 17:33:39 +0200 Subject: [PATCH 1/2] Add config for Bazel CI This will ensure gRPC-Web is compatible with the latest Bazel. If we enable presubmit testing, we can remove Bazel from Kokoro and speed-up CI. --- .bazelci/presubmit.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .bazelci/presubmit.yml diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml new file mode 100644 index 00000000..938ef7ad --- /dev/null +++ b/.bazelci/presubmit.yml @@ -0,0 +1,20 @@ +--- +# TODO(yannic): Enable buildifier and test on Windows and RBE (both unsupported by rules_closure). +platforms: + macos: + build_targets: + - //... + test_targets: + - //... + + ubuntu1604: + build_targets: + - //... + test_targets: + - //... + + ubuntu1804: + build_targets: + - "//..." + test_targets: + - //... From 03d979826b358d630c7031ab25b74a652cdd07f7 Mon Sep 17 00:00:00 2001 From: Yannic Date: Fri, 25 Oct 2019 13:58:20 +0200 Subject: [PATCH 2/2] Fix inconsitency --- .bazelci/presubmit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 938ef7ad..ec345575 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -15,6 +15,6 @@ platforms: ubuntu1804: build_targets: - - "//..." + - //... test_targets: - //...