-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build and CI. Support host Ruby 2.5 to 2.7
- Loading branch information
alex-epifanoff
authored
May 17, 2020
1 parent
35e02d3
commit 87675de
Showing
27 changed files
with
467 additions
and
471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
#!/usr/bin/env bash | ||
set -x | ||
|
||
RUBY_INSTALLED=$(rvm list | grep ruby-2.5.1) | ||
RUBY_INSTALLED=$(rvm list | grep ruby-$RHO_RUBY) | ||
echo $RUBY_INSTALLED | ||
if [[ -z $RUBY_INSTALLED ]]; then | ||
export HOMEBREW_NO_INSTALL_CLEANUP=1 | ||
#brew install openssl | ||
rvm install --autolibs=disable 2.5.1 | ||
rvm install --autolibs=disable $RHO_RUBY | ||
fi | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
set -x | ||
|
||
#sudo adduser $USER libvirt | ||
#sudo adduser $USER kvm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require 'yaml' | ||
|
||
file = ARGV[0] | ||
abis = ARGV[1].split(',') | ||
|
||
cfg = YAML::load_file(file) | ||
|
||
cfg['android']['abis'] = abis | ||
|
||
File.write( file, cfg.to_yaml ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
|
||
set -x | ||
|
||
$TRAVIS_BUILD_DIR/.ci/modify_target_abi.rb ./build.yml $ANDROID_ABIS | ||
rake device:android:debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/usr/bin/env bash | ||
set -x | ||
|
||
$TRAVIS_BUILD_DIR/.ci/modify_target_abi.rb build.yml $ANDROID_ABIS | ||
rake run:android |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
set -x | ||
printf "\n\n\n\n\n\n\n\n\n" | rhodes-setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
#gem install rest-client --no-document | ||
#gem install deep_merge --no-document | ||
#gem install templater --no-document | ||
#gem install uuid --no-document | ||
#gem install listen --no-document |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env bash | ||
set -x | ||
|
||
#echo "Building rhosim" | ||
#cd $TRAVIS_BUILD_DIR | ||
#rm $TRAVIS_BUILD_DIR/platform/osx/bin/RhoSimulator/RhoSimulator.app.zip | ||
#rm -rf $TRAVIS_BUILD_DIR/platform/osx/bin/RhoSimulator/* | ||
#rake build:osx:rhosimulator | ||
#cd $TRAVIS_BUILD_DIR/platform/osx/bin/RhoSimulator/ | ||
#zip -r -y RhoSimulator.app.zip RhoSimulator.app | ||
#rm -rf $TRAVIS_BUILD_DIR/platform/osx/bin/RhoSimulator/RhoSimulator.app | ||
#cd $TRAVIS_BUILD_DIR | ||
# > build.log | ||
|
||
#OUT=$? | ||
|
||
#if [ $OUT -eq 0 ];then | ||
# echo "RhoSimulator built successfully" | ||
#else | ||
# echo "Error building RhoSimulator" | ||
# cat build.log | ||
#fi | ||
|
||
#exit $OUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source 'https://rubygems.org' do | ||
gemspec :name => 'rhodes' | ||
end |
Oops, something went wrong.