Skip to content

Commit d29e9aa

Browse files
committed
Fix JRuby and ruby-head builds
JRuby needs an older ubuntu. Ruby >3.4 no longer has benchmark as default gem.
1 parent f4f9108 commit d29e9aa

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/test.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,38 @@ on:
1010
jobs:
1111
ruby:
1212
name: ${{ matrix.ruby }} (timeout ${{ matrix.timeout }})
13-
runs-on: ubuntu-latest
13+
runs-on: ${{ matrix.os }}
1414
timeout-minutes: ${{ matrix.timeout }}
1515
strategy:
1616
fail-fast: false
1717
matrix:
1818
include:
1919
- ruby: 3.1
2020
timeout: 5
21+
os: ubuntu-latest
2122
- ruby: 3.2
2223
timeout: 5
24+
os: ubuntu-latest
2325
- ruby: 3.3
2426
timeout: 5
2527
- ruby: ruby
2628
timeout: 5
29+
os: ubuntu-latest
2730
- ruby: head
2831
timeout: 5
32+
os: ubuntu-latest
2933
- ruby: truffleruby
3034
timeout: 50
35+
os: ubuntu-latest
3136
- ruby: truffleruby-head
3237
timeout: 50
38+
os: ubuntu-latest
3339
- ruby: jruby
3440
timeout: 5
41+
os: ubuntu-22.04
3542
- ruby: jruby-head
3643
timeout: 5
44+
os: ubuntu-22.04
3745
steps:
3846
- name: Installing libyaml-dev
3947
run: |

Gemfile

+2
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ gem 'jruby-openssl', :platforms => :jruby
1111
gem 'mini_mime'
1212

1313
gem 'byebug', :platforms => :mri
14+
15+
gem "benchmark"

0 commit comments

Comments
 (0)