Skip to content

Commit b7bdab5

Browse files
committed
Update CI workflow and build and install gems on TruffleRuby and JRuby
1 parent 341265c commit b7bdab5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,29 @@ 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 gem installing.
78+
install:
79+
name: >-
80+
Install ${{ matrix.ruby }}
81+
runs-on: ubuntu-latest
82+
strategy:
83+
fail-fast: false
84+
matrix:
85+
ruby:
86+
- truffleruby
87+
- jruby
88+
steps:
89+
- uses: actions/checkout@v4
90+
91+
- name: Set up Ruby
92+
uses: ruby/setup-ruby@v1
93+
with:
94+
ruby-version: ${{ matrix.ruby }}
95+
bundler-cache: true
96+
97+
- run: rake install
98+
7699
docker:
77100
name: >-
78101
${{ matrix.service }}

0 commit comments

Comments
 (0)