Skip to content

Commit 131f483

Browse files
committed
Add workflow to ensure the gem installs fine on truffleruby
1 parent 75da93d commit 131f483

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/truffleruby.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: TruffleRuby
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
truffleruby:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Set up Ruby
11+
uses: ruby/setup-ruby@v1
12+
with:
13+
ruby-version: truffleruby-head
14+
bundler-cache: true
15+
- name: Test installing the gem on TruffleRuby
16+
run: |
17+
bundle exec rake compile
18+
bundle exec rake build
19+
gem install pkg/stringio-*.gem
20+
ruby -rstringio -e 'p StringIO'

0 commit comments

Comments
 (0)