Skip to content

Commit 4284bd0

Browse files
authored
Merge pull request ruby#62 from eregon/truffleruby-ci
Add truffleruby-head in CI
2 parents 85637fa + 8abc80b commit 4284bd0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
88
with:
99
engine: cruby
10+
versions: '["truffleruby-head"]'
1011
min_version: 2.7
1112

1213
build:
@@ -24,6 +25,8 @@ jobs:
2425
exclude:
2526
- ruby: head
2627
os: windows-latest
28+
- ruby: truffleruby-head
29+
os: windows-latest
2730
runs-on: ${{ matrix.os }}
2831
steps:
2932
- uses: actions/checkout@v4

test/zlib/test_zlib.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@ def test_set_dictionary
506506
end
507507

508508
def test_multithread_deflate
509+
pend 'hangs' if RUBY_ENGINE == 'truffleruby'
509510
zd = Zlib::Deflate.new
510511

511512
s = "x" * 10000
@@ -522,6 +523,7 @@ def test_multithread_deflate
522523
end
523524

524525
def test_multithread_inflate
526+
pend 'hangs' if RUBY_ENGINE == 'truffleruby'
525527
zi = Zlib::Inflate.new
526528

527529
s = Zlib.deflate("x" * 10000)
@@ -792,7 +794,7 @@ def test_path
792794
}
793795
end
794796

795-
if defined? File::TMPFILE
797+
if defined?(File::TMPFILE) and RUBY_ENGINE != 'truffleruby'
796798
def test_path_tmpfile
797799
sio = StringIO.new("".dup, 'w')
798800
gz = Zlib::GzipWriter.new(sio)

0 commit comments

Comments
 (0)