From 453cde5fb9813cf61085a8ca3bf032bccd5d4d9f Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Thu, 11 Apr 2019 11:47:10 -0400 Subject: [PATCH] use bazel 0.23.2 for macos bazel build --- tools/internal_ci/macos/grpc_run_bazel_tests.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/internal_ci/macos/grpc_run_bazel_tests.sh b/tools/internal_ci/macos/grpc_run_bazel_tests.sh index ef02a675d5b..56fae8fd75f 100644 --- a/tools/internal_ci/macos/grpc_run_bazel_tests.sh +++ b/tools/internal_ci/macos/grpc_run_bazel_tests.sh @@ -18,6 +18,13 @@ set -ex # change to grpc repo root cd $(dirname $0)/../../.. +# Download bazel +temp_dir="$(mktemp -d)" +wget -q https://github.com/bazelbuild/bazel/releases/download/0.23.2/bazel-0.23.2-darwin-x86_64 -O "${temp_dir}/bazel" +chmod 755 "${temp_dir}/bazel" +export PATH="${temp_dir}:${PATH}" +# This should show ${temp_dir}/bazel +which bazel ./tools/run_tests/start_port_server.py