Merge pull request #1314 from murgatroid99/macos_use_homebrew_make

Use make from homebrew in Mac tests
This commit is contained in:
Michael Lumish 2020-03-27 11:47:10 -07:00 committed by GitHub
commit a0222f91c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

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

View File

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