File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,14 +29,13 @@ jobs:
2929 - uses : ./
3030 with :
3131 ruby-version : ${{ matrix.ruby }}
32- - name : ruby version and gcc
32+ - run : ruby -v
33+ - name : build compiler
3334 run : |
34- ruby --version
35- ruby -e "puts 'build gcc: ' + RbConfig::CONFIG.fetch('CC_VERSION_MESSAGE', 'unknown')[/[^\n]+/]"
35+ ruby -e "puts 'build compiler: ' + RbConfig::CONFIG.fetch('CC_VERSION_MESSAGE', 'unknown').lines.first"
3636 - name : ridk version (mingw)
3737 if : matrix.os == 'windows-latest'
3838 run : |
39- # run 'ridk version'
4039 $abi, $plat = $(ruby -e "STDOUT.write RbConfig::CONFIG['ruby_version'] + ' ' + RUBY_PLATFORM").split(' ')
4140 if (($abi -ge '2.4') -and $plat.Contains('mingw')) {
4241 ridk version
@@ -70,14 +69,13 @@ jobs:
7069 - uses : ./
7170 with :
7271 ruby-version : ${{ matrix.cfg.ruby }}
73- - name : ruby version and gcc
72+ - run : ruby -v
73+ - name : build compiler
7474 run : |
75- ruby --version
76- ruby -e "puts 'build gcc: ' + RbConfig::CONFIG.fetch('CC_VERSION_MESSAGE', 'unknown')[/[^\n]+/]"
75+ ruby -e "puts 'build compiler: ' + RbConfig::CONFIG.fetch('CC_VERSION_MESSAGE', 'unknown').lines.first"
7776 - name : ridk version (mingw)
7877 if : matrix.cfg.os == 'windows-latest'
7978 run : |
80- # run 'ridk version'
8179 $abi, $plat = $(ruby -e "STDOUT.write RbConfig::CONFIG['ruby_version'] + ' ' + RUBY_PLATFORM").split(' ')
8280 if (($abi -ge '2.4') -and $plat.Contains('mingw')) {
8381 ridk version
You can’t perform that action at this time.
0 commit comments