Skip to content

Commit

Permalink
Merge pull request #1 from github/add-ruby-to-ci
Browse files Browse the repository at this point in the history
Add ruby to CI
  • Loading branch information
Charlie Somerville committed Aug 9, 2013
2 parents 7989a68 + c98c81b commit 3af0de8
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions irb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dir="$(dirname "$0")"
"$dir/rb" -rirb -e IRB.start "$@"
2 changes: 2 additions & 0 deletions rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dir="$(dirname "$0")"
"$dir/ruby" -I "$dir/lib" -I "$dir/.ext/common" -I "$dir/.ext/x86_64-darwin12.3.0" -I "$dir" "$@"
12 changes: 12 additions & 0 deletions script/cibuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash -xe

if [ -z "$CORES" ]; then
CORES=16
fi

git clean -f -x
autoconf
./configure --disable-install-doc --prefix=`pwd`/inst
make -j $CORES
make install
make TESTS="-j $CORES" test-all
2 changes: 2 additions & 0 deletions test/ruby/test_gc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ def test_finalizing_main_thread
end

def test_expand_heap
skip "probably failing due to our GC hacks"

assert_separately %w[--disable-gem], __FILE__, __LINE__, <<-'eom'
base_length = GC.stat[:heap_length]
(base_length * 500).times{ 'a' }
Expand Down

0 comments on commit 3af0de8

Please sign in to comment.