Skip to content

Commit 2e2da6d

Browse files
committed
Update CI workflow and build and install gems on TruffleRuby and JRuby
1 parent 4bd5264 commit 2e2da6d

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,36 @@ jobs:
7373
cd tmp
7474
ruby test/run.rb
7575
76+
# Don't run tests on TruffleRuby and JRuby because tests don't pass on them yet.
77+
# So check only compiling.
78+
host-with-non-CRuby:
79+
name: >-
80+
${{ matrix.os }} ${{ matrix.ruby }}
81+
runs-on: ${{ matrix.os }}
82+
strategy:
83+
fail-fast: false
84+
matrix:
85+
os:
86+
- ubuntu-latest
87+
ruby:
88+
- truffleruby
89+
- jruby
90+
steps:
91+
- uses: actions/checkout@v4
92+
93+
- name: Set up Ruby
94+
uses: ruby/setup-ruby@v1
95+
with:
96+
ruby-version: ${{ matrix.ruby }}
97+
98+
- run: bundle install
99+
100+
- run: rake compile
101+
102+
- run: rake build
103+
104+
- run: gem install pkg/*.gem
105+
76106
docker:
77107
name: >-
78108
${{ matrix.service }}

0 commit comments

Comments
 (0)