Skip to content

Commit

Permalink
windows rbe for Kokoro CI
Browse files Browse the repository at this point in the history
  • Loading branch information
billfeng327 committed Apr 12, 2019
1 parent e076a30 commit 85100a7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2334,7 +2334,8 @@ grpc_cc_library(
":envoy_core_upb",
":google_api_upb",
":proto_gen_validate_upb",
]
],
tags = ["no_windows"],
)

grpc_cc_library(
Expand Down
5 changes: 1 addition & 4 deletions bazel/grpc_build_system.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,7 @@ def grpc_cc_library(
visibility = visibility,
testonly = testonly,
linkopts = linkopts,
includes = [
"include",
"src/core/ext/upb-generated",
],
includes = ["include"] + if_not_windows(["src/core/ext/upb-generated"]),
alwayslink = alwayslink,
data = data,
tags = tags,
Expand Down
7 changes: 7 additions & 0 deletions tools/internal_ci/windows/bazel_rbe.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
choco install bazel -y --version 0.23.2
cd github/grpc
bazel
set PATH=%PATH%;C:\python27\
python --version
c:\python27\python.exe --version
bazel --bazelrc=tools/remote_build/windows.bazelrc build :all --incompatible_disallow_filetype=false --google_credentials=%KOKORO_GFILE_DIR%/rbe-windows-credentials.json

0 comments on commit 85100a7

Please sign in to comment.