Use make from homebrew in Mac tests

This commit is contained in:
Michael Lumish 2020-03-26 09:25:37 -07:00
parent a9298edb7c
commit 25b5a40a6c
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