Skip to content

Add TruffleRuby in CI #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby
engine: cruby-truffleruby
min_version: 2.5

test:
Expand All @@ -19,6 +19,10 @@ jobs:
exclude:
- ruby: 2.5
os: macos-latest
- ruby: truffleruby
os: windows-latest
- ruby: truffleruby-head
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 3 additions & 1 deletion test/logger/test_logdevice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,9 @@ def test_shifting_size_not_rotate_too_much
logdev1.write(message)
assert_file.identical?(log, logdev1.dev)
# NOTE: below assertion fails in JRuby 9.3 and TruffleRuby
assert_file.identical?(log + ".0", logdev2.dev)
unless %w[jruby truffleruby].include? RUBY_ENGINE
assert_file.identical?(log + ".0", logdev2.dev)
end

logdev2.write(message)
assert_file.identical?(log, logdev1.dev)
Expand Down
Loading