Skip to content

Add ruby to CI #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 9, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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