diff --git a/packages/grpc-native-core/tools/run_tests/artifacts/build_one_artifact_macos.sh b/packages/grpc-native-core/tools/run_tests/artifacts/build_one_artifact_macos.sh index 5ca96836..a92f8a2a 100755 --- a/packages/grpc-native-core/tools/run_tests/artifacts/build_one_artifact_macos.sh +++ b/packages/grpc-native-core/tools/run_tests/artifacts/build_one_artifact_macos.sh @@ -24,6 +24,8 @@ npm install -g npm npm install -g node-gyp set -ex +brew install make +PATH="$(brew --prefix)/opt/make/libexec/gnubin:$PATH" cd $(dirname $0)/../../../../.. base_dir=$(pwd) diff --git a/test/kokoro.sh b/test/kokoro.sh index 667db112..0caeb1cf 100755 --- a/test/kokoro.sh +++ b/test/kokoro.sh @@ -19,6 +19,13 @@ rm -rf ~/.rvm set -e cd $(dirname $0)/.. +OS=$(uname) +if [ "$OS" = "Darwin" ] +then + brew install make + PATH="$(brew --prefix)/opt/make/libexec/gnubin:$PATH" +fi + # Install gRPC and its submodules. git submodule update --init --recursive