Skip to content

Commit

Permalink
restore Ruby 2.6 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 36720b7 commit d5f48c3
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- "3.1"
- "3.0"
- "2.7"
- "2.6"
- debug

steps:
Expand All @@ -37,13 +38,23 @@ jobs:

- run: rake build

- name: Install ffi 1.6 for old Ruby
- name: Install ffi (if Ruby 2.7)
if: |
matrix.ruby == '2.7'
run: |
cat <<GEMFILE > Gemfile.irb
source 'https://rubygems.org'
gem 'ffi', '~> 1.6'
gem 'ffi'
GEMFILE
BUNDLE_GEMFILE=Gemfile.irb bundle install --jobs 4 --retry 3
- name: Install ffi 1.6.x (if Ruby 2.6)
if: |
matrix.ruby == '2.6'
run: |
cat <<GEMFILE > Gemfile.irb
source 'https://rubygems.org'
gem 'ffi', '~> 1.6.0'
GEMFILE
BUNDLE_GEMFILE=Gemfile.irb bundle install --jobs 4 --retry 3
Expand Down

0 comments on commit d5f48c3

Please sign in to comment.