Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
e282dfe9
Commit
e282dfe9
authored
7 years ago
by
Jan Tattermusch
Browse files
Options
Downloads
Patches
Plain Diff
update macos kokoro rc script
parent
883655d6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/internal_ci/helper_scripts/prepare_build_macos_rc
+14
-38
14 additions, 38 deletions
tools/internal_ci/helper_scripts/prepare_build_macos_rc
with
14 additions
and
38 deletions
tools/internal_ci/helper_scripts/prepare_build_macos_rc
+
14
−
38
View file @
e282dfe9
...
@@ -15,53 +15,29 @@
...
@@ -15,53 +15,29 @@
# Source this rc script to prepare the environment for macos builds
# Source this rc script to prepare the environment for macos builds
# TODO(jtattermusch): remove all deps once installed on MacOS workers
# required to build protobuf
brew
install
gflags
# brew and C++ deps
set
+ex
# rvm script is very verbose and exits with errorcode
yes
| ruby
-e
"
$(
curl
-fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install
)
"
source
$HOME
/.rvm/scripts/rvm
brew
install
autoconf automake libtool ccache cmake gflags gpg wget
set
-e
# rvm commands are very verbose
# TODO(jtattermusch): hkp://keys.gnupg.net fails with "No route to host"
gpg
--keyserver
hkp://193.164.133.100
--recv-keys
409B6B1796C275462A1703113804BB82D39DC0E3
curl
-sSL
https://get.rvm.io |
sudo
bash
-s
stable
# add ourselves to rvm group to prevent later "access denied" errors.
sudo
dseditgroup
-o
edit
-a
`
whoami
`
-t
user rvm
set
+ex
source
/etc/profile.d/rvm.sh
rvm
install
ruby-2.3
rvm
install
ruby-2.3
gem
install
bundler
rvm osx-ssl-certs status all
rvm osx-ssl-certs status all
rvm osx-ssl-certs update all
rvm osx-ssl-certs update all
set
-ex
set
-ex
gem
install
bundler
# cocoapods
# cocoapods
gem
install
cocoapods
--version
1.0.0
export
LANG
=
en_US.UTF-8
gem
install
cocoapods
pod repo update
# needed by python
# python
# python
wget
-q
https://bootstrap.pypa.io/get-pip.py
brew
install
coreutils
# we need grealpath
sudo
python get-pip.py
#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
# TODO(jtattermusch): install python3
# mono
wget
-q
https://download.mono-project.com/archive/5.0.1/macos-10-universal/MonoFramework-MDK-5.0.1.1.macos10.xamarin.universal.pkg
sudo
installer
-pkg
MonoFramework-MDK-5.0.1.1.macos10.xamarin.universal.pkg
-target
/
ln
-s
/Library/Frameworks/Mono.framework/Versions/Current/bin/mono /usr/local/bin/mono
# dotnet SDK
brew
install
openssl
wget
-q
https://go.microsoft.com/fwlink/?linkid
=
843444
-O
dotnet-dev-osx-x64.1.0.1.pkg
sudo
installer
-pkg
dotnet-dev-osx-x64.1.0.1.pkg
-target
/
ln
-s
/usr/local/share/dotnet/dotnet /usr/local/bin/dotnet
dotnet
--version
# bootstrap dotnet SDK
# nvm
wget
-qO-
https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
# TODO(jtattermusch): install node if needed
git submodule update
--init
git submodule update
--init
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment