Skip to content

Commit 5a3d56d

Browse files
sealocalkojix2
authored andcommitted
restore Ruby 2.5 in CI matrix
1 parent d5f48c3 commit 5a3d56d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
- "3.0"
2626
- "2.7"
2727
- "2.6"
28+
- "2.5"
2829
- debug
2930

3031
steps:
@@ -58,6 +59,17 @@ jobs:
5859
GEMFILE
5960
BUNDLE_GEMFILE=Gemfile.irb bundle install --jobs 4 --retry 3
6061
62+
- name: Install ffi 1.6.x and irb < 1.4.3 (if Ruby 2.5)
63+
if: |
64+
matrix.ruby == '2.5'
65+
run: |
66+
cat <<GEMFILE > Gemfile.irb
67+
source 'https://rubygems.org'
68+
gem 'ffi', '~> 1.6.0'
69+
gem 'irb', '< 1.4.3'
70+
GEMFILE
71+
BUNDLE_GEMFILE=Gemfile.irb bundle install --jobs 4 --retry 3
72+
6173
- run: gem install pkg/*.gem
6274

6375
- run: ruby -r iruby -e "p IRuby::SessionAdapter.select_adapter_class"

0 commit comments

Comments
 (0)