Skip to content

Commit a904104

Browse files
authored
Merge pull request #198 from ruby/flavorjones-update-ci-pipeline-20221123
ci: update jruby versions and add truffleruby
2 parents 0da77df + a1871c5 commit a904104

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ubuntu.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
build:
2121
runs-on: ubuntu-latest
2222
strategy:
23+
fail-fast: false
2324
matrix:
2425
ruby:
2526
- "2.5"
@@ -28,9 +29,11 @@ jobs:
2829
- "3.0"
2930
- "3.1"
3031
- "head"
31-
- "jruby-9.2.20.1"
32-
- "jruby-9.3.2.0"
32+
- "jruby-9.2.21.0"
33+
- "jruby-9.3.9.0"
3334
- "jruby-head"
35+
- "truffleruby-22.3.0"
36+
- "truffleruby-head"
3437
steps:
3538
- uses: actions/checkout@v3
3639
- uses: ruby/setup-ruby@v1

Rakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ Rake::TestTask.new(:test) do |t|
2323
t.ruby_opts << "-rhelper"
2424
t.test_files = FileList["test/**/test_*.rb"]
2525
if RUBY_VERSION >= "2.6"
26-
t.ruby_opts << %w[--enable-frozen-string-literal --debug=frozen-string-literal]
26+
t.ruby_opts << "--enable-frozen-string-literal"
27+
t.ruby_opts << "--debug=frozen-string-literal" if RUBY_ENGINE != "truffleruby"
2728
end
2829
end
2930
gem 'rake-compiler', '>= 0.4.1'

0 commit comments

Comments
 (0)