mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-17 23:36:44 +00:00
* get rid of invoke_tests imports * add sudo * change path to /usr/bin/invoke_tests * create /usr/local/bin dir * remove local variables * fix group owner * set default 775 perm * delete invoke_tests symlink
34 lines
731 B
Bash
Executable File
34 lines
731 B
Bash
Executable File
#!/bin/bash -e -o pipefail
|
|
source ~/utils/utils.sh
|
|
|
|
echo Updating RubyGems...
|
|
gem update --system
|
|
|
|
echo Installing xcode-install utility...
|
|
gem install xcode-install --force
|
|
|
|
echo Installing CocoaPods...
|
|
gem install cocoapods
|
|
|
|
if is_Less_BigSur; then
|
|
# fix nomad-cli installation
|
|
if is_HighSierra; then
|
|
brew_smart_install "libxml2"
|
|
gem install nokogiri -v 1.6.8.1 -- --use-system-libraries --with-xml2-include=$(brew --prefix libxml2)/include/libxml2
|
|
fi
|
|
|
|
echo Installing nomad-cli...
|
|
gem install nomad-cli
|
|
fi
|
|
|
|
echo Installing xcpretty...
|
|
gem install xcpretty
|
|
|
|
echo Installing bundler...
|
|
gem install bundler --force
|
|
|
|
echo Installing fastlane tools...
|
|
gem install fastlane
|
|
|
|
invoke_tests "RubyGem"
|