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
Copy file name to clipboardExpand all lines: README.md
+14-11Lines changed: 14 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,9 @@
6
6
7
7
Cross platform action that installs Ruby, along with tools and packages needed for compiling.
8
8
9
-
If you don't need any changes to tools or packages, please use [ruby/setup-ruby].
9
+
**IMPORTANT NOTE:** If one is using Actions image 'windows-2022' or later, [ruby/setup-ruby]
10
+
installs all packages needed to compile/build Windows Rubies, versions 2.5 and later.
11
+
Hence, if you don't need any additional tools or packages, please use [ruby/setup-ruby].
10
12
11
13
The action's inputs are shown below:
12
14
@@ -23,7 +25,7 @@ The action's inputs are shown below:
23
25
brew: # macOS
24
26
mingw: # Windows mingw / mswin /ucrt
25
27
msys2: # mingw / mswin /ucrt
26
-
mswin: # Windows mswin
28
+
mswin: # Windows mswin - installs MSYS packages
27
29
choco: # mswin
28
30
vcpkg: # mswin
29
31
```
@@ -52,35 +54,36 @@ List of packages to install. Space delimited. Special options are `_update_` an
52
54
53
55
* **Ruby 2.4 & later**<br/>
54
56
List of MSYS2 MinGW packages to install.<br/>
55
-
Space delimited. The package prefix (`mingw-w64-x86_64-` or `mingw-w64-ucrt-x86_64-`) is not required.<br/>If `_upgrade_` is included in the input, all packages needed by the gcc tools are updated.<br/>If `openssl` is included, an appropriate package will be installed.
57
+
Space delimited. The package prefix (`mingw-w64-x86_64-` or `mingw-w64-ucrt-x86_64-`) is not required.<br/>
58
+
If `_upgrade_` is included in the input, all packages needed by the gcc tools are updated.<br/>
59
+
If `openssl` is included, an appropriate package will be installed.
56
60
57
61
* **Ruby 2.3 & earlier**<br/>
58
62
The following DevKit packages are available:<br/>
59
63
* libffi-3.2.1
60
64
* openssl-1.0.2j
61
65
* ragel-6.7
62
-
* sqlite-3.7.15.2 (sqlite3)</li>
66
+
* sqlite-3.7.15.2 (sqlite3)
63
67
* zlib-1.2.8
64
68
65
-
* **Ruby mswin**<br/>
66
-
If `openssl` is included, it will be installed for mswin as a convenience.<br/>Likewise, if `ragel` is included, the MSYS2 ragel package will be installed.
67
-
</dl>
68
-
69
69
### msys2: (Windows)
70
70
71
71
* **Ruby 2.4 & later**<br/>
72
-
List of MSYS2 packages to install. Space delimited. These are command line utilities, and are rarely needed.
72
+
List of MSYS2 packages to install. Space delimited. These are command line utilities and are rarely needed.
73
73
74
74
* **Ruby 2.3 & earlier**<br/
75
-
No action, as no utilities are available for the older MSYS/DevKit.</dd>
75
+
No action, as no utilities are available for the older MSYS/DevKit.
76
76
77
77
### mswin: (Windows)
78
78
79
-
Installs MSYS2 packages. These are typically build utilities, such as bison, ragel, etc. As in pacman, MinGW packages must be prefixed with `mingw-w64-x86_64-`.
79
+
Installs MSYS2 packages. These are typically build utilities, such as bison, ragel, etc.
80
+
As in pacman, MinGW packages must be prefixed with `mingw-w64-x86_64-` or `mingw-w64-ucrt-x86_64-`.
80
81
81
82
### choco: (Windows)
82
83
83
84
List of packages to install. Space delimited. Most packages are compiled with msvc, so normally used with mswin builds.
85
+
Currently, the mswin Ruby build is compiled using [microsoft/vcpkg](https://github.com/microsoft/vcpkg) packages, so
0 commit comments