You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c0b352c
Browse filesBrowse the repository at this point in the historyBrowse files
committed
Add the mswin release builds as mswin-X.Y and mswin-head
cache.ruby-lang.org publishes mswin builds of the 3.4 and 4.0 releases, so `mswin-X.Y` installs them and `mswin-head` the master build. `mswin` and `ruby-mswin` keep installing master until their known users move to `mswin-head`. 3.3 and older are left out because their mkmf ignores ENV['PKG_CONFIG'] and would not use the vcpkg pkgconf.
mswin is CRuby built with MSVC, so it stays the ruby engine and the CRuby rules apply. `common.inputs.mswin` only selects the builds and keeps them out of the tool cache, where runners hold RubyInstaller builds of the same versions, and in their own bundler-cache key.
Co-authored-by: なつき <i@ntk.me>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ This action currently supports these versions of MRI, JRuby and TruffleRuby:
15
15
16
16
| Interpreter | Versions |
17
17
| ----------- | -------- |
18
-
|`ruby`| 1.9.3, 2.0.0, 2.1.9, 2.2, all versions from 2.3.0 until 4.1.0-preview1, head, debug, mingw, mswin, ucrt |
18
+
|`ruby`| 1.9.3, 2.0.0, 2.1.9, 2.2, all versions from 2.3.0 until 4.1.0-preview1, head, debug, mingw, ucrt |
19
19
|`jruby`| 9.1.17.0 - 10.1.3.0, head |
20
20
|`truffleruby`| 19.3.0 - 40.0.0, head |
21
21
|`truffleruby+graalvm`| 21.2.0 - 40.0.0, head |
@@ -28,14 +28,18 @@ Native extensions are automatically compiled with AddressSanitizer when using `r
28
28
29
29
`ruby-asan` and `asan-release` are currently only available on `ubuntu-24.04` and `ubuntu-26.04`.
30
30
31
-
Regarding Windows ruby master builds, `mingw` is a MSYS2/MinGW build, `head` & `ucrt` are MSYS2/UCRT64
32
-
builds, and `mswin` is a MSVC build.
31
+
Regarding Windows ruby master builds, `mingw` is a MSYS2/MinGW build, and `head` & `ucrt` are MSYS2/UCRT64 builds.
32
+
33
+
`mswin` is CRuby built with MSVC, available on Windows only.
34
+
`mswin-4.0` installs the latest 4.0.x release and `mswin-head` the master build.
35
+
`mswin` alone also installs the master build for now but will install the latest release in the future, so use `mswin-head` to keep testing master.
36
+
The available versions are listed in [windows-mswin-versions.json](windows-mswin-versions.json).
33
37
34
38
Preview and RC versions of Ruby might be available too on Ubuntu and macOS (not on Windows).
35
39
However, it is recommended to test against `ruby-head` rather than previews,
36
40
as it provides more useful feedback for the Ruby core team and for upcoming changes.
37
41
38
-
Only release versions published by [RubyInstaller](https://rubyinstaller.org/downloads/archives/)
42
+
Apart from `mswin`, only release versions published by [RubyInstaller](https://rubyinstaller.org/downloads/archives/)
39
43
are available on Windows. Due to that, Ruby 2.2 resolves to 2.2.6 on Windows and 2.2.10
40
44
on other platforms. Ruby 2.3 on Windows only has builds for 2.3.0, 2.3.1 and 2.3.3.
41
45
@@ -54,7 +58,7 @@ The action works on these [GitHub-hosted runners](https://docs.github.com/en/act
54
58
55
59
Not all combinations of runner images and versions are supported.
56
60
The full list of available Ruby versions can be seen in [here for Ubuntu and macOS](https://github.com/ruby/ruby-builder/releases)
57
-
and in [windows-versions.json](windows-versions.json) for Windows.
61
+
and in [windows-versions.json](windows-versions.json)and [windows-mswin-versions.json](windows-mswin-versions.json)for Windows.
58
62
Newer runner images only have builds of the latest patch release of each series,
59
63
so prefer a short version like `'3.4'` over an exact one like `'3.4.2'`, or pin to a specific runner version (e.g. `ubuntu-24.04`).
60
64
For example, `ubuntu-26.04` (which `ubuntu-latest` now points to, see [this announcement](https://github.com/actions/runner-images/issues/14748))
@@ -63,7 +67,7 @@ only has builds of CRuby 2.3 and newer, as older CRuby versions do not compile o
63
67
The prebuilt releases are generated by [ruby-builder](https://github.com/ruby/ruby-builder)
64
68
and on Windows by [RubyInstaller2](https://github.com/oneclick/rubyinstaller2).
65
69
The `mingw` and `ucrt` builds are generated by [ruby-loco](https://github.com/MSP-Greg/ruby-loco).
66
-
The `mswin`build is the daily master build published at [cache.ruby-lang.org](https://cache.ruby-lang.org/pub/ruby/binaries/mswin64/).
70
+
The `mswin`builds are generated by [ruby/actions](https://github.com/ruby/actions) and published at [cache.ruby-lang.org](https://cache.ruby-lang.org/pub/ruby/binaries/mswin64/).
67
71
`ruby-head` is generated by [ruby-dev-builder](https://github.com/ruby/ruby-dev-builder),
68
72
`jruby-head` is generated by [jruby-dev-builder](https://github.com/ruby/jruby-dev-builder),
69
73
`truffleruby-head` and `truffleruby+graalvm-head` are generated by [truffleruby-dev-builder](https://github.com/ruby/truffleruby-dev-builder).
0 commit comments