windows rbe for Kokoro CI

pull/18748/head
Bill Feng 6 years ago
parent e076a30f16
commit 85100a780f
  1. 3
      BUILD
  2. 5
      bazel/grpc_build_system.bzl
  3. 7
      tools/internal_ci/windows/bazel_rbe.bat

@ -2334,7 +2334,8 @@ grpc_cc_library(
":envoy_core_upb",
":google_api_upb",
":proto_gen_validate_upb",
]
],
tags = ["no_windows"],
)
grpc_cc_library(

@ -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,

@ -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
Loading…
Cancel
Save