mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 22:44:20 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7372622e62 |
+2
@@ -92683,6 +92683,8 @@ function validateRubyEngineAndVersion(platform, engineVersions, engine, parsedVe
|
|||||||
But of course you should consider dropping support for these long-EOL Rubies, which cannot even be built on recent macOS machines.`)
|
But of course you should consider dropping support for these long-EOL Rubies, which cannot even be built on recent macOS machines.`)
|
||||||
} else if (engine === 'truffleruby' && platform.startsWith('windows')) {
|
} else if (engine === 'truffleruby' && platform.startsWith('windows')) {
|
||||||
throw new Error('TruffleRuby does not currently support Windows.')
|
throw new Error('TruffleRuby does not currently support Windows.')
|
||||||
|
} else if (engine === 'truffleruby' && platform.startsWith('macos') && os.arch() === 'x64' && common.floatVersion(version) >= 34.0) {
|
||||||
|
throw new Error('TruffleRuby 34+ no longer supports macOS Intel, please exclude that combination from CI.')
|
||||||
}
|
}
|
||||||
|
|
||||||
return version
|
return version
|
||||||
|
|||||||
@@ -196,6 +196,8 @@ function validateRubyEngineAndVersion(platform, engineVersions, engine, parsedVe
|
|||||||
But of course you should consider dropping support for these long-EOL Rubies, which cannot even be built on recent macOS machines.`)
|
But of course you should consider dropping support for these long-EOL Rubies, which cannot even be built on recent macOS machines.`)
|
||||||
} else if (engine === 'truffleruby' && platform.startsWith('windows')) {
|
} else if (engine === 'truffleruby' && platform.startsWith('windows')) {
|
||||||
throw new Error('TruffleRuby does not currently support Windows.')
|
throw new Error('TruffleRuby does not currently support Windows.')
|
||||||
|
} else if (engine === 'truffleruby' && platform.startsWith('macos') && os.arch() === 'x64' && common.floatVersion(version) >= 34.0) {
|
||||||
|
throw new Error('TruffleRuby 34+ no longer supports macOS Intel, please exclude that combination from CI.')
|
||||||
}
|
}
|
||||||
|
|
||||||
return version
|
return version
|
||||||
|
|||||||
Reference in New Issue
Block a user