Skip to content

Commit e296c6b

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 e296c6b

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/test.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,39 @@ 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
27+
os: ubuntu-latest
2528
- ruby: ruby
2629
timeout: 5
30+
os: ubuntu-latest
2731
- ruby: head
2832
timeout: 5
33+
os: ubuntu-latest
2934
- ruby: truffleruby
3035
timeout: 50
36+
os: ubuntu-latest
3137
- ruby: truffleruby-head
3238
timeout: 50
39+
os: ubuntu-latest
3340
- ruby: jruby
3441
timeout: 5
42+
os: ubuntu-22.04
3543
- ruby: jruby-head
3644
timeout: 5
45+
os: ubuntu-22.04
3746
steps:
3847
- name: Installing libyaml-dev
3948
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)