Skip to content

Commit

Permalink
MMTk CI should build in debug & release
Browse files Browse the repository at this point in the history
On Ubuntu
  • Loading branch information
eightbitraptor committed Oct 7, 2024
1 parent 52e4bfb commit 369ba85
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ jobs:
configure: '--with-shared-gc=/home/runner/ruby_gc'
- test_task: check
gc_name: 'mmtk'
build: 'debug'
shared_gc: true
configure: '--with-shared-gc=/home/runner/ruby_gc'
- test_task: check
gc_name: 'mmtk'
build: 'release'
shared_gc: true
configure: '--with-shared-gc=/home/runner/ruby_gc'
- test_task: test-bundler-parallel
Expand Down Expand Up @@ -106,14 +112,14 @@ jobs:
- name: Build MMTK Ruby lib
run: |
cd ../src/gc/mmtk
cargo build
cargo build ${{ matrix.build != 'debug' && format('--{0}', matrix.build) || format('') }}
echo "RUST_LOG=" >> $GITHUB_ENV
if: ${{ matrix.shared_gc && matrix.gc_name == 'mmtk' }}

- name: Build shared GC
run: |
echo "RUBY_GC_LIBRARY=librubygc.${{ matrix.gc_name }}.so" >> $GITHUB_ENV
make shared-gc SHARED_GC=${{ matrix.gc_name }}
make shared-gc SHARED_GC=${{ matrix.gc_name }} MMTK_BUILD=${{ matrix.build }}
if: ${{ matrix.shared_gc }}

- run: $SETARCH make
Expand Down

0 comments on commit 369ba85

Please sign in to comment.