Skip to content

Commit 9962e39

Browse files
committed
Make shared GC job in ubuntu.yml use a shared GC
1 parent d0dfd96 commit 9962e39

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ubuntu.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
- test_task: check
3535
configure: '--enable-shared --enable-load-relative'
3636
- test_task: check
37-
configure: '--with-shared-gc'
37+
shared_gc: true
38+
shared_gc_dir: '/home/runner/ruby_gc'
39+
configure: '--with-shared-gc=/home/runner/ruby_gc'
3840
- test_task: test-bundler-parallel
3941
- test_task: test-bundled-gems
4042
- test_task: check
@@ -93,6 +95,13 @@ jobs:
9395
- run: $SETARCH make prepare-gems
9496
if: ${{ matrix.test_task == 'test-bundled-gems' }}
9597

98+
- name: Build shared GC
99+
run: >
100+
echo "RUBY_GC_LIBRARY=librubygc.default.so" >> $GITHUB_ENV &&
101+
mkdir ${{ matrix.shared_gc_dir }} &&
102+
make shared-gc SHARED_GC=default
103+
if: ${{ matrix.shared_gc }}
104+
96105
- run: $SETARCH make
97106

98107
- name: Set test options for skipped tests

0 commit comments

Comments
 (0)