diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d5f8d9e..dfe4b08 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,6 +35,8 @@ jobs: - run: ruby --version - run: ridk version if: matrix.os == 'windows-latest' && !startsWith(matrix.ruby, '2.3') + - name: Subprocess test + run: ruby test_subprocess.rb - name: OpenSSL version run: ruby -ropenssl -e 'puts OpenSSL::OPENSSL_LIBRARY_VERSION' - name: OpenSSL test diff --git a/README.md b/README.md index f7cd5f5..003c66f 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This action currently supports these versions of MRI, JRuby and TruffleRuby: | Ruby | 2.3.0 - 2.3.8, 2.4.0 - 2.4.9, 2.5.0 - 2.5.7, 2.6.0 - 2.6.5, 2.7.0, head | | JRuby | 9.2.9.0 | | TruffleRuby | 19.3.0, 19.3.1, head | -| Rubinius | 4.13 | +| Rubinius | 4.14 | Note that Ruby 2.3 and the OpenSSL version it needs (1.0.2) are both end-of-life, which means Ruby 2.3 is unmaintained and considered insecure. diff --git a/dist/index.js b/dist/index.js index d447018..82105ba 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2163,7 +2163,7 @@ function getVersions(platform) { if (platform === 'ubuntu-18.04') { versions['rubinius'] = [ - "4.13" + "4.14" ] } @@ -5148,7 +5148,7 @@ const tc = __webpack_require__(533) const rubyBuilderVersions = __webpack_require__(156) const axios = __webpack_require__(53) -const builderReleaseTag = 'builds-newer-openssl' +const builderReleaseTag = 'builds-no-warn' const releasesURL = 'https://github.com/eregon/ruby-builder/releases' function getAvailableVersions(platform, engine) { diff --git a/ruby-builder-versions.js b/ruby-builder-versions.js index 3d4c182..fed14d0 100644 --- a/ruby-builder-versions.js +++ b/ruby-builder-versions.js @@ -19,7 +19,7 @@ export function getVersions(platform) { if (platform === 'ubuntu-18.04') { versions['rubinius'] = [ - "4.13" + "4.14" ] } diff --git a/ruby-builder.js b/ruby-builder.js index 9f14e06..87b4861 100644 --- a/ruby-builder.js +++ b/ruby-builder.js @@ -6,7 +6,7 @@ const tc = require('@actions/tool-cache') const rubyBuilderVersions = require('./ruby-builder-versions') const axios = require('axios') -const builderReleaseTag = 'builds-newer-openssl' +const builderReleaseTag = 'builds-no-warn' const releasesURL = 'https://github.com/eregon/ruby-builder/releases' export function getAvailableVersions(platform, engine) { diff --git a/test_subprocess.rb b/test_subprocess.rb new file mode 100644 index 0000000..191f7d2 --- /dev/null +++ b/test_subprocess.rb @@ -0,0 +1,13 @@ +require 'rbconfig' +require 'stringio' + +puts "CPPFLAGS: #{RbConfig::CONFIG["CPPFLAGS"]}" + +$stderr = StringIO.new +begin + system RbConfig.ruby, "-e", "p :OK" + out = $stderr.string +ensure + $stderr = STDERR +end +abort out unless out.empty?