We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36720b7 commit d5f48c3Copy full SHA for d5f48c3
.github/workflows/ci.yml
@@ -24,6 +24,7 @@ jobs:
24
- "3.1"
25
- "3.0"
26
- "2.7"
27
+ - "2.6"
28
- debug
29
30
steps:
@@ -37,13 +38,23 @@ jobs:
37
38
39
- run: rake build
40
- - name: Install ffi 1.6 for old Ruby
41
+ - name: Install ffi (if Ruby 2.7)
42
if: |
43
matrix.ruby == '2.7'
44
run: |
45
cat <<GEMFILE > Gemfile.irb
46
source 'https://rubygems.org'
- gem 'ffi', '~> 1.6'
47
+ gem 'ffi'
48
+ GEMFILE
49
+ BUNDLE_GEMFILE=Gemfile.irb bundle install --jobs 4 --retry 3
50
+
51
+ - name: Install ffi 1.6.x (if Ruby 2.6)
52
+ if: |
53
+ matrix.ruby == '2.6'
54
+ run: |
55
+ cat <<GEMFILE > Gemfile.irb
56
+ source 'https://rubygems.org'
57
+ gem 'ffi', '~> 1.6.0'
58
GEMFILE
59
BUNDLE_GEMFILE=Gemfile.irb bundle install --jobs 4 --retry 3
60
0 commit comments