2222 - { name: 2.6, value: 2.6.6 }
2323 - { name: 2.7, value: 2.7.2 }
2424 - { name: jruby-9.2, value: jruby-9.2.14.0 }
25+ - { name: truffleruby-20.2, value: truffleruby-20.2.0 }
2526 openssl :
2627 - { name: "openssl", value: true }
2728 - { name: "no-openssl", value: false }
3334 ruby-version : ${{ matrix.ruby.value }}
3435 bundler : none
3536 - name : Install rubygems
36- run : ruby -Ilib -S rake install 2> errors.txt
37+ run : ruby -Ilib -S rake install 2> errors.txt || (cat errors.txt && exit 1)
3738 - name : Check rubygems install produced no warnings
3839 run : test ! -s errors.txt || (cat errors.txt && exit 1)
3940 - name : Run a local rubygems command
5152 run : bundle --version
5253 - name : Check bundler man pages were installed and are properly picked up
5354 run : bundle install --help | grep -q BUNDLE-INSTALL
55+ if : matrix.ruby.name != 'truffleruby-20.2'
5456 - name : Check bundler fallback man pages are properly picked up
5557 run : sudo rm $(which man) && bundle install --help
58+ if : matrix.ruby.name != 'truffleruby-20.2'
5659 - name : Build bundler
5760 run : gem build bundler.gemspec
5861 working-directory : ./bundler
@@ -64,22 +67,33 @@ jobs:
6467 working-directory : ./bundler
6568 - name : Check rails can be installed
6669 run : gem install rails
70+ if : matrix.ruby.name != 'truffleruby-20.2'
6771 timeout-minutes : 10
6872
6973 install_rubygems_windows :
70- name : Install Rubygems on Windows
74+ name : Install Rubygems on Windows (${{ matrix.ruby.name }})
7175 runs-on : windows-2019
76+ strategy :
77+ fail-fast : false
78+ matrix :
79+ ruby :
80+ - { name: 2.7, value: 2.7.2 }
81+ - { name: jruby-9.2, value: jruby-9.2.14.0 }
7282 steps :
7383 - uses : actions/checkout@v2
7484 - name : Setup ruby
7585 uses : ruby/setup-ruby@v1
7686 with :
77- ruby-version : 2.7.2
87+ ruby-version : ${{ matrix.ruby.value }}
7888 bundler : none
7989 - name : Install rubygems
8090 run : ruby setup.rb
8191 shell : bash
82- - name : Check installation didn't modify gemspec line feeds
83- run : ruby -Ilib -e' exit 1 if File.readlines("bundler/bundler.gemspec").first.end_with?("\r\n")'
92+ - name : Check installation didn't modify any source controlled files
93+ run : git diff -- exit-code
8494 shell : bash
95+ - name : Check we can install a Gemfile with git sources
96+ run : bundle init && bundle add fileutils --git https://github.com/ruby/fileutils
97+ shell : bash
98+
8599 timeout-minutes : 10
0 commit comments