Skip to content

Commit

Permalink
restore Ruby 2.5 in CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
sealocal authored and kojix2 committed Dec 4, 2024
1 parent d5f48c3 commit 5a3d56d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- "3.0"
- "2.7"
- "2.6"
- "2.5"
- debug

steps:
Expand Down Expand Up @@ -58,6 +59,17 @@ jobs:
GEMFILE
BUNDLE_GEMFILE=Gemfile.irb bundle install --jobs 4 --retry 3
- name: Install ffi 1.6.x and irb < 1.4.3 (if Ruby 2.5)
if: |
matrix.ruby == '2.5'
run: |
cat <<GEMFILE > Gemfile.irb
source 'https://rubygems.org'
gem 'ffi', '~> 1.6.0'
gem 'irb', '< 1.4.3'
GEMFILE
BUNDLE_GEMFILE=Gemfile.irb bundle install --jobs 4 --retry 3
- run: gem install pkg/*.gem

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

0 comments on commit 5a3d56d

Please sign in to comment.