diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2017-06-29 15:06:09 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2017-06-29 17:37:40 +0200 |
commit | c250b048a0abde515bad066f14dcaf5c33e4e730 (patch) | |
tree | 3ae08a4a8fd560a5d5d6384bc83a1ed6279fa442 | |
parent | a410632b570a8717eb5f3c1f43eb84bf80e0aca9 (diff) |
add mac deps to build artifacts on kokoro
-rw-r--r-- | tools/internal_ci/helper_scripts/prepare_build_macos_rc | 2 | ||||
-rwxr-xr-x | tools/internal_ci/macos/grpc_build_artifacts.sh | 20 |
2 files changed, 20 insertions, 2 deletions
diff --git a/tools/internal_ci/helper_scripts/prepare_build_macos_rc b/tools/internal_ci/helper_scripts/prepare_build_macos_rc index 6d9db5db47..6b942d22b8 100644 --- a/tools/internal_ci/helper_scripts/prepare_build_macos_rc +++ b/tools/internal_ci/helper_scripts/prepare_build_macos_rc @@ -45,7 +45,7 @@ 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 +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 / git submodule update --init diff --git a/tools/internal_ci/macos/grpc_build_artifacts.sh b/tools/internal_ci/macos/grpc_build_artifacts.sh index aad99b068d..3884a4f2e5 100755 --- a/tools/internal_ci/macos/grpc_build_artifacts.sh +++ b/tools/internal_ci/macos/grpc_build_artifacts.sh @@ -18,6 +18,24 @@ set -ex # change to grpc repo root cd $(dirname $0)/../../.. -git submodule update --init +source tools/internal_ci/helper_scripts/prepare_build_macos_rc + +# python 3.5 +wget -q https://www.python.org/ftp/python/3.5.2/python-3.5.2-macosx10.6.pkg +sudo installer -pkg python-3.5.2-macosx10.6.pkg -target / + +# install cython for all python versions +python2.7 -m pip install cython setuptools wheel +python3.4 -m pip install cython setuptools wheel +python3.5 -m pip install cython setuptools wheel +python3.6 -m pip install cython setuptools wheel + +# node-gyp (needed for node artifacts) +npm install -g node-gyp + +# php dependencies: pecl +curl -O http://pear.php.net/go-pear.phar +sudo php -d detect_unicode=0 go-pear.phar + tools/run_tests/task_runner.py -f artifact macos |