Skip to content

Commit

Permalink
Merge pull request #198 from ruby/flavorjones-update-ci-pipeline-2022…
Browse files Browse the repository at this point in the history
…1123

ci: update jruby versions and add truffleruby
  • Loading branch information
flavorjones committed Nov 23, 2022
2 parents 0da77df + a1871c5 commit a904104
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ubuntu.yml
Expand Up @@ -20,6 +20,7 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- "2.5"
Expand All @@ -28,9 +29,11 @@ jobs:
- "3.0"
- "3.1"
- "head"
- "jruby-9.2.20.1"
- "jruby-9.3.2.0"
- "jruby-9.2.21.0"
- "jruby-9.3.9.0"
- "jruby-head"
- "truffleruby-22.3.0"
- "truffleruby-head"
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
Expand Down
3 changes: 2 additions & 1 deletion Rakefile
Expand Up @@ -23,7 +23,8 @@ Rake::TestTask.new(:test) do |t|
t.ruby_opts << "-rhelper"
t.test_files = FileList["test/**/test_*.rb"]
if RUBY_VERSION >= "2.6"
t.ruby_opts << %w[--enable-frozen-string-literal --debug=frozen-string-literal]
t.ruby_opts << "--enable-frozen-string-literal"
t.ruby_opts << "--debug=frozen-string-literal" if RUBY_ENGINE != "truffleruby"
end
end
gem 'rake-compiler', '>= 0.4.1'
Expand Down

0 comments on commit a904104

Please sign in to comment.