improvements to kokoro macos build

pull/11647/head
Jan Tattermusch 8 years ago
parent b047350e4b
commit f53eb37056
  1. 12
      tools/internal_ci/helper_scripts/prepare_build_macos_rc
  2. 2
      tools/internal_ci/macos/grpc_master.sh

@ -15,6 +15,12 @@
# Source this rc script to prepare the environment for macos builds
ulimit -n 1000
# show current limits
ulimit -a
# required to build protobuf
brew install gflags
@ -35,9 +41,11 @@ pod repo update # needed by python
# python
brew install coreutils # we need grealpath
#wget -q https://bootstrap.pypa.io/get-pip.py
#sudo python get-pip.py
sudo pip install virtualenv
sudo pip install -U six tox setuptools
# python 3.4
wget https://www.python.org/ftp/python/3.4.4/python-3.4.4-macosx10.6.pkg
sudo installer -pkg python-3.4.4-macosx10.6.pkg -target /
git submodule update --init

@ -20,7 +20,7 @@ cd $(dirname $0)/../../..
source tools/internal_ci/helper_scripts/prepare_build_macos_rc
tools/run_tests/run_tests_matrix.py -f basictests macos --internal_ci || FAILED="true"
tools/run_tests/run_tests_matrix.py -f basictests macos --internal_ci -j 2 --inner_jobs 4 || FAILED="true"
# kill port_server.py to prevent the build from hanging
ps aux | grep port_server\\.py | awk '{print $2}' | xargs kill -9

Loading…
Cancel
Save