File tree Expand file tree Collapse file tree 1 file changed +13
-16
lines changed
Expand file tree Collapse file tree 1 file changed +13
-16
lines changed Original file line number Diff line number Diff line change 11version : 2.1
22
3+ setup_ruby : &setup_ruby
4+ run :
5+ name : Setup Ruby
6+ command : |
7+ echo "ruby-3.3.4" > ~/.ruby-version
8+ source /opt/circleci/.circleci_bash_profile
9+ ruby --version
10+ gem install bundler
11+ gem install cocoapods
12+
313# Default VM config to be used for macOS builds
414macos_config : &macos_config
515 macos :
@@ -20,7 +30,7 @@ executors:
2030 working_directory : ~/project
2131
2232orbs :
23- android : circleci/android@2.5 .0
33+ android : circleci/android@1 .0
2434
2535# Always run job
2636run_always : &run_always
4757 install-dependencies :
4858 << : *macos_config
4959 steps :
60+ - << : *setup_ruby
5061 - checkout
5162 - attach_project
5263
@@ -115,9 +126,9 @@ jobs:
115126 JAVA_OPTS : ' -Xms512m -Xmx1024m'
116127 executor :
117128 name : android/android-machine
118- tag : 2023.07.1
119129 working_directory : ~/project
120130 steps :
131+ - << : *setup_ruby
121132 - checkout :
122133 path : ~/project
123134
@@ -162,20 +173,6 @@ jobs:
162173 - checkout
163174 - attach_workspace :
164175 at : ~/project
165- - run :
166- name : Install Ruby
167- command : |
168- brew install rbenv ruby-build
169- echo 'eval "$(rbenv init -)"' >> $BASH_ENV
170- source $BASH_ENV
171-
172- RUBY_VERSION=$(cat .ruby-version)
173- rbenv install -s $RUBY_VERSION
174- rbenv global $RUBY_VERSION
175- rbenv rehash
176-
177- gem install bundler
178- gem install cocoapods
179176
180177 - << : *setup_env_file
181178
You can’t perform that action at this time.
0 commit comments