Skip to content
Snippets Groups Projects
Commit f53eb370 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

improvements to kokoro macos build

parent b047350e
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,12 @@ ...@@ -15,6 +15,12 @@
# Source this rc script to prepare the environment for macos builds # Source this rc script to prepare the environment for macos builds
ulimit -n 1000
# show current limits
ulimit -a
# required to build protobuf # required to build protobuf
brew install gflags brew install gflags
...@@ -35,9 +41,11 @@ pod repo update # needed by python ...@@ -35,9 +41,11 @@ pod repo update # needed by python
# python # python
brew install coreutils # we need grealpath 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 virtualenv
sudo pip install -U six tox setuptools 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 git submodule update --init
...@@ -20,7 +20,7 @@ cd $(dirname $0)/../../.. ...@@ -20,7 +20,7 @@ cd $(dirname $0)/../../..
source tools/internal_ci/helper_scripts/prepare_build_macos_rc 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 # kill port_server.py to prevent the build from hanging
ps aux | grep port_server\\.py | awk '{print $2}' | xargs kill -9 ps aux | grep port_server\\.py | awk '{print $2}' | xargs kill -9
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment