diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2017-06-29 14:18:38 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2017-06-29 14:18:38 +0200 |
commit | f53eb370560b797463ff571b384c66ef787d67dc (patch) | |
tree | aa4afe41ed7defbf516bd15a8e7707cfe5b8460c | |
parent | b047350e4b9d8fbbfa6c2a8842b1185f062ae487 (diff) |
improvements to kokoro macos build
-rw-r--r-- | tools/internal_ci/helper_scripts/prepare_build_macos_rc | 12 | ||||
-rwxr-xr-x | tools/internal_ci/macos/grpc_master.sh | 2 |
2 files changed, 11 insertions, 3 deletions
diff --git a/tools/internal_ci/helper_scripts/prepare_build_macos_rc b/tools/internal_ci/helper_scripts/prepare_build_macos_rc index 1dabeeb3de..6d9db5db47 100644 --- a/tools/internal_ci/helper_scripts/prepare_build_macos_rc +++ b/tools/internal_ci/helper_scripts/prepare_build_macos_rc @@ -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 diff --git a/tools/internal_ci/macos/grpc_master.sh b/tools/internal_ci/macos/grpc_master.sh index 786859be3f..c64666b2de 100755 --- a/tools/internal_ci/macos/grpc_master.sh +++ b/tools/internal_ci/macos/grpc_master.sh @@ -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 |