File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,32 +17,36 @@ jobs:
1717 - ubuntu-16.04
1818 - macos-latest
1919 - windows-latest
20- ruby_version :
20+ ruby :
21+ - 3.0
2122 - 2.7
2223 - 2.6
2324 - 2.5
2425 - 2.4
26+ - debug
27+ include :
28+ - { os: windows-latest , ruby: mingw }
29+ - { os: windows-latest , ruby: mswin }
30+ exclude :
31+ - { os: windows-latest , ruby: 3.0 }
32+ - { os: windows-latest , ruby: debug }
2533
2634 steps :
27- - name : Setup Ruby
28- if : matrix.ruby_version != 'master-nightly'
29- uses : eregon/use-ruby-action@master
35+ - uses : actions/checkout@v2
3036 with :
31- ruby-version : ${{ matrix.ruby_version }}
37+ fetch-depth : 1
3238
33- - name : Checkout
34- uses : actions/checkout @v1
39+ - name : Setup Ruby
40+ uses : ruby/setup-ruby @v1
3541 with :
36- fetch-depth : 1
42+ ruby-version : ${{ matrix.ruby }}
43+
44+ - run : gem install bundler
45+
46+ - run : bundle install --jobs 4 --retry 3
3747
38- - name : Prepare environment
39- run : |
40- gem install bundler
48+ - run : rake
4149
42- - name : Install requirements
43- run : |
44- bundle install --jobs 4 --retry 3
50+ - run : rake build
4551
46- - name : Test
47- run : |
48- bundle exec rake
52+ - run : gem install pkg/*.gem
You can’t perform that action at this time.
0 commit comments