Skip to content

Commit

Permalink
switch to Ruby 2.4.0 and Crystal 0.23.0 (not 0.23.1, due to crystal-l…
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Huffman committed Jul 24, 2017
1 parent fe87391 commit dc57da8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions math/nodes_times_weights_sum/.crystal-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.23.0
10 changes: 5 additions & 5 deletions math/nodes_times_weights_sum/collect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ echo "duration,language,version" > $LOG_FILE.csv
echo "misc times (TODO: merge w/ csv file)" > $LOG_FILE.times.log 2>&1

echo
rvm use ruby-2.3.1
rvm use ruby-2.4.0
ruby --version
for VARIABLE in 1 2 3 4 5
do
Expand Down Expand Up @@ -76,8 +76,8 @@ time ruby mruby/bench.rb $QTY >> $LOG_FILE.times.log 2>&1
echo
# echo "Crystal 0.18.7 (non-release)"
# crenv local 0.18.7
echo "Crystal 0.23.1 (non-release)"
crenv local 0.23.1
echo "Crystal 0.23.0 (non-release)"
crenv local 0.23.0
crystal version
for VARIABLE in 1 2 3 4 5
do
Expand Down Expand Up @@ -136,8 +136,8 @@ time ruby -b mruby/bench.mrb $QTY >> $LOG_FILE.times.log 2>&1
echo
# echo "Crystal 0.18.7 (release)"
# crenv shell 0.18.7
echo "Crystal 0.23.1 (release)"
crenv shell 0.23.1
echo "Crystal 0.23.0 (release)"
crenv shell 0.23.0
crystal version
crystal build ./crystal/bench.cr --release
mv bench ./crystal/bench
Expand Down
5 changes: 3 additions & 2 deletions math/nodes_times_weights_sum/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ rvm cleanup all
git clone https://github.com/pine/crenv-update.git "$(crenv root)/plugins/crenv-update"
crenv update

rvm install ruby-2.3.1
rvm install ruby-2.4.0
rvm install jruby-1.7.25
rvm install mruby
crenv install 0.18.6
Expand All @@ -43,7 +43,8 @@ rvm install jruby-9.1.2.0
rvm install mruby-head
crenv install 0.18.7

crenv install 0.23.1
crenv install 0.23.0
# crenv install 0.23.1

rm -R tmp/mruby
mkdir -p tmp/mruby
Expand Down

0 comments on commit dc57da8

Please sign in to comment.