Make shared GC job in ubuntu.yml use a shared GC

This commit is contained in:
Peter Zhu 2024-07-10 09:29:58 -04:00
parent d0dfd963af
commit 9962e39547

View File

@ -34,7 +34,9 @@ jobs:
- test_task: check
configure: '--enable-shared --enable-load-relative'
- test_task: check
configure: '--with-shared-gc'
shared_gc: true
shared_gc_dir: '/home/runner/ruby_gc'
configure: '--with-shared-gc=/home/runner/ruby_gc'
- test_task: test-bundler-parallel
- test_task: test-bundled-gems
- test_task: check
@ -93,6 +95,13 @@ jobs:
- run: $SETARCH make prepare-gems
if: ${{ matrix.test_task == 'test-bundled-gems' }}
- name: Build shared GC
run: >
echo "RUBY_GC_LIBRARY=librubygc.default.so" >> $GITHUB_ENV &&
mkdir ${{ matrix.shared_gc_dir }} &&
make shared-gc SHARED_GC=default
if: ${{ matrix.shared_gc }}
- run: $SETARCH make
- name: Set test options for skipped tests