diff options
author | Craig Tiller <ctiller@google.com> | 2017-07-05 17:23:57 +0000 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-07-05 17:23:57 +0000 |
commit | 82360c86d7d4ed582de3882c089e1a18dcc906f9 (patch) | |
tree | 41a6e3107ab4855edf251763c8b723ff3e187054 /tools/internal_ci/macos/grpc_build_artifacts.sh | |
parent | 86ffd65c84956f5e274beb11b34d8ea0bfc9a4af (diff) | |
parent | be7f2a41ab2718b59e82e28913941aeec2f0bed2 (diff) |
Merge github.com:grpc/grpc into epex7
Diffstat (limited to 'tools/internal_ci/macos/grpc_build_artifacts.sh')
-rwxr-xr-x | tools/internal_ci/macos/grpc_build_artifacts.sh | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/tools/internal_ci/macos/grpc_build_artifacts.sh b/tools/internal_ci/macos/grpc_build_artifacts.sh index aad99b068d..603c15f210 100755 --- a/tools/internal_ci/macos/grpc_build_artifacts.sh +++ b/tools/internal_ci/macos/grpc_build_artifacts.sh @@ -18,6 +18,31 @@ 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 + +# needed to build ruby artifacts +gem install rake-compiler +wget https://raw.githubusercontent.com/grpc/grpc/master/tools/distrib/build_ruby_environment_macos.sh +bash build_ruby_environment_macos.sh + +gem install rubygems-update +update_rubygems tools/run_tests/task_runner.py -f artifact macos |