diff --git a/dist/index.js b/dist/index.js index a0474e18a..9f68aea27 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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.`) } else if (engine === 'truffleruby' && platform.startsWith('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 diff --git a/index.js b/index.js index e898dbb7a..4edc71614 100644 --- a/index.js +++ b/index.js @@ -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.`) } else if (engine === 'truffleruby' && platform.startsWith('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