Merge pull request #18748 from billfeng327/feature/rbe-windows

Windows rbe for Kokoro CI
pull/18761/head
Jan Tattermusch 6 years ago committed by GitHub
commit d800f40604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      BUILD
  2. 5
      bazel/grpc_build_system.bzl
  3. 18
      tools/internal_ci/windows/bazel_rbe.bat

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

@ -112,10 +112,7 @@ def grpc_cc_library(
visibility = visibility, visibility = visibility,
testonly = testonly, testonly = testonly,
linkopts = linkopts, linkopts = linkopts,
includes = [ includes = ["include"] + if_not_windows(["src/core/ext/upb-generated"]),
"include",
"src/core/ext/upb-generated",
],
alwayslink = alwayslink, alwayslink = alwayslink,
data = data, data = data,
tags = tags, tags = tags,

@ -0,0 +1,18 @@
@rem Copyright 2019 gRPC authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem http://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
choco install bazel -y --version 0.23.2
cd github/grpc
set PATH=%PATH%;C:\python27\
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