mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48481806ad |
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
+2
-2
@@ -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) {
|
||||
|
||||
@@ -19,7 +19,7 @@ export function getVersions(platform) {
|
||||
|
||||
if (platform === 'ubuntu-18.04') {
|
||||
versions['rubinius'] = [
|
||||
"4.13"
|
||||
"4.14"
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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) {
|
||||
|
||||
@@ -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?
|
||||
Reference in New Issue
Block a user