Compare commits

..
7 Commits
Author SHA1 Message Date
ruby-builder-bot dffb23f65a Update CRuby releases on Windows 2026-03-14 14:24:47 +00:00
Charles Oliver Nutter ea73ddb198 Update README to remove JRuby version notes
* JRuby 9.2.x has been EOL for a very long time, so there's no value in telling people to use a newer version.
* https://github.com/jruby/jruby/issues/7106 was resolved with JRuby 9.4.0.0. All prior versions are EOL.
* https://github.com/jruby/jruby/issues/7182 was determined to be a JDK issue and no longer occurs with more recent builds.
2026-03-11 20:25:53 +01:00
Benoit Daloze 4eb9f110ba Update Node to 24
* There are warnings for Node 20 now, see
  https://github.com/ruby/setup-ruby/issues/806#issuecomment-4038240742
* Node 20 is deprecated now and EOL in April 2026.
  Node 24 has been available for a long time, so no runners should lack node24.
  See https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
* For very old runners without node24 it's still possible to
  force using node20 with `ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION=20`.
  See also the blog post above.
2026-03-11 13:31:38 +01:00
ruby-builder-bot 9d13dd6ce2 Add ruby-3.4.9 2026-03-11 13:03:14 +01:00
Jānis Baiža 6ca151fd1b Leave only basic comment about env variable change 2026-03-06 13:30:33 +00:00
Jānis Baiža 74138471e3 Set HOME variable from OS information 2026-03-06 13:30:33 +00:00
Jānis Baiža b3cff1b264 Add support for Windows Server Standard Evaluation
blacksmith.sh runners use "Windows Server 2025 Standard Evaluation".
2026-03-06 13:30:33 +00:00
8 changed files with 19 additions and 13 deletions
-2
View File
@@ -257,8 +257,6 @@ It is recommended to first get your build working on Ubuntu and macOS before try
* The `PATH` contains [multiple compiler toolchains](https://github.com/ruby/setup-ruby/issues/19). Use `where.exe` to debug which tool is used.
* For Ruby ≥ 2.4, MSYS2 is prepended to the `Path`, similar to what RubyInstaller2 does.
* For Ruby < 2.4, the DevKit MSYS tools are installed and prepended to the `Path`.
* Use JRuby 9.2.20+ on Windows (older versions have [bugs](https://github.com/ruby/setup-ruby/issues/18#issuecomment-889072695)).
* JRuby on Windows has multiple issues ([jruby/jruby#7106](https://github.com/jruby/jruby/issues/7106), [jruby/jruby#7182](https://github.com/jruby/jruby/issues/7182)).
* When compiling extension code, note that the packages required to build Ruby are included when using Windows 2022. Additional packages can be installed with [setup-ruby-pkgs](https://github.com/ruby/setup-ruby-pkgs) or via MSYS2's `pacman`. These packages may be required when installing or updating Ruby stdlib extension gems.
## Versioning
+1 -1
View File
@@ -55,5 +55,5 @@ outputs:
ruby-prefix:
description: 'The prefix of the installed ruby'
runs:
using: 'node20'
using: 'node24'
main: 'dist/index.js'
+1 -1
View File
@@ -281,7 +281,7 @@ export function getOSNameVersionArch() {
function findWindowsVersion() {
const version = os.version()
const match = version.match(/^Windows(?: Server)? (\d+) (?:Datacenter|Enterprise)/)
const match = version.match(/^Windows(?: Server)? (\d+) (?:Standard|Datacenter|Enterprise)/)
if (match) {
return match[1]
} else {
Generated Vendored
+6 -6
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -219,8 +219,8 @@ function envPreInstall() {
if (windows) {
// puts normal Ruby temp folder on SSD
core.exportVariable('TMPDIR', ENV['RUNNER_TEMP'])
// bash - sets home to match native windows, normally C:\Users\<user name>
core.exportVariable('HOME', ENV['HOMEDRIVE'] + ENV['HOMEPATH'])
// bash - sets home to match native windows
core.exportVariable('HOME', os.homedir())
// bash - needed to maintain Path from Windows
core.exportVariable('MSYS2_PATH_TYPE', 'inherit')
}
+1 -1
View File
@@ -13,7 +13,7 @@
"3.1.0-preview1", "3.1.0", "3.1.1", "3.1.2", "3.1.3", "3.1.4", "3.1.5", "3.1.6", "3.1.7",
"3.2.0-preview1", "3.2.0-preview2", "3.2.0-preview3", "3.2.0-rc1", "3.2.0", "3.2.1", "3.2.2", "3.2.3", "3.2.4", "3.2.5", "3.2.6", "3.2.7", "3.2.8", "3.2.9", "3.2.10",
"3.3.0-preview1", "3.3.0-preview2", "3.3.0-preview3", "3.3.0-rc1", "3.3.0", "3.3.1", "3.3.2", "3.3.3", "3.3.4", "3.3.5", "3.3.6", "3.3.7", "3.3.8", "3.3.9", "3.3.10",
"3.4.0-preview1", "3.4.0-preview2", "3.4.0-rc1", "3.4.0", "3.4.1", "3.4.2", "3.4.3", "3.4.4", "3.4.5", "3.4.6", "3.4.7", "3.4.8",
"3.4.0-preview1", "3.4.0-preview2", "3.4.0-rc1", "3.4.0", "3.4.1", "3.4.2", "3.4.3", "3.4.4", "3.4.5", "3.4.6", "3.4.7", "3.4.8", "3.4.9",
"3.5.0-preview1",
"4.0.0-preview2", "4.0.0-preview3", "4.0.0", "4.0.1",
"head", "debug", "asan", "asan-release"
+4
View File
@@ -274,6 +274,10 @@
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64.7z",
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
},
"3.4.9": {
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64.7z",
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
},
"4.0.0": {
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64.7z",
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
+4
View File
@@ -274,6 +274,10 @@
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.8-1/rubyinstaller-3.4.8-1-arm.7z",
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.8-1/rubyinstaller-3.4.8-1-x64.7z"
},
"3.4.9": {
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.9-1/rubyinstaller-3.4.9-1-arm.7z",
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.9-1/rubyinstaller-3.4.9-1-x64.7z"
},
"4.0.0": {
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.0-1/rubyinstaller-4.0.0-1-arm.7z",
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.0-1/rubyinstaller-4.0.0-1-x64.7z"