Skip to content

Commit

Permalink
Ensure the gem installs fine on truffleruby in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Nov 30, 2023
1 parent 75da93d commit 8197fc7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
os:
- ubuntu-22.04
- ubuntu-20.04
ruby: [ '2.7', '3.0', '3.1', '3.2', 'debug', 'head', 'jruby-head' ]
ruby: [ '2.7', '3.0', '3.1', '3.2', 'debug', 'head', 'jruby-head', 'truffleruby-head' ]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
Expand Down Expand Up @@ -42,5 +42,12 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
- name: Run test
# Tests don't pass yet on truffleruby
if: >-
matrix.ruby != 'truffleruby-head'
run: bundle exec rake
continue-on-error: ${{ startsWith(matrix.ruby, 'jruby') }}
- name: Install gem
run: |
gem install pkg/*.gem
ruby -rstringio -e 'puts StringIO::VERSION'

0 comments on commit 8197fc7

Please sign in to comment.