aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2017-07-11 16:50:37 +0200
committerGravatar GitHub <noreply@github.com>2017-07-11 16:50:37 +0200
commitfd5eb2412206ab3620644f8e800fb1f44a18ccdd (patch)
tree29ce96514afe104ad95a337bbe399e4e457c99c0
parent8e32b4dd7237cbf5562aeb9da10d6e1e03c62929 (diff)
parent3d1103ae1be83b5a6e0194d361108c0f332be7ad (diff)
Merge pull request #11747 from jtattermusch/kokoro_objc_fix
Kokoro macos build fixes
-rw-r--r--tools/internal_ci/helper_scripts/prepare_build_macos_rc11
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/internal_ci/helper_scripts/prepare_build_macos_rc b/tools/internal_ci/helper_scripts/prepare_build_macos_rc
index 22e80d2afa..7d2c5221d1 100644
--- a/tools/internal_ci/helper_scripts/prepare_build_macos_rc
+++ b/tools/internal_ci/helper_scripts/prepare_build_macos_rc
@@ -15,7 +15,12 @@
# Source this rc script to prepare the environment for macos builds
-ulimit -n 1000
+sudo launchctl limit maxfiles unlimited unlimited
+
+# show current maxfiles
+launchctl limit maxfiles
+
+ulimit -n 10000
# show current limits
ulimit -a
@@ -37,6 +42,7 @@ gem install bundler
# cocoapods
export LANG=en_US.UTF-8
gem install cocoapods
+gem install xcpretty
pod repo update # needed by python
# python
@@ -48,4 +54,7 @@ sudo pip install -U six tox setuptools
wget -q 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 /
+# set xcode version for Obj-C tests
+sudo xcode-select -switch /Applications/Xcode_8.2.1.app/Contents/Developer
+
git submodule update --init