MSP-Greg
cd4241788a
MSP-Greg/setup-msys2-gcc -> ruby/setup-msys2-gcc, rmdirSync -> rmSync
2022-05-16 12:23:31 +02:00
Benoit Daloze
296bf7f67a
Use an explicit list of supported platforms for nicer error messages
2022-05-15 12:21:30 +02:00
MSP-Greg
8c72644a0b
Windows mswin - use vsWhere instead of vssetup.powershell (much faster)
2022-05-02 20:51:22 +02:00
MSP-Greg
d78e94b867
Windows mswin - update addVCVARSEnv
2022-05-02 20:51:22 +02:00
Benoit Daloze
c96a8640af
Make version files pure-data JSON files
2022-01-23 12:16:37 +01:00
Benoit Daloze
238b81ee64
Only log if changing something
2022-01-13 20:26:04 +01:00
Benoit Daloze
8f312efe12
Fix typo
2022-01-13 19:47:00 +01:00
Benoit Daloze
26470672e5
Small cleanups
2022-01-13 19:40:03 +01:00
MSP-Greg
e9c1c1bf40
windows.js - add hasMSYS2PreInstalled constant
2022-01-13 19:25:34 +01:00
MSP-Greg
24d6deea38
Windows JRuby - install MinGW tools, typo
2022-01-13 19:25:34 +01:00
MSP-Greg
3b96304b91
windows.js - suggested changes
2022-01-13 19:25:34 +01:00
MSP-Greg
18485596cf
Windows - Rename 3rd party OpenSSL SYSTEM32 dll's
2022-01-13 19:25:34 +01:00
MSP-Greg
ffd46bd1d2
Only install mingw or ucrt for new Rubies
2022-01-13 19:25:34 +01:00
MSP-Greg
480fe921a2
windows.js - update addVCVARSEnv to work with all windows images
2022-01-13 19:25:34 +01:00
MSP-Greg
4fbcf63963
Install MSYS2 tools before gcc tools, clear pacman database folder
2022-01-13 19:25:34 +01:00
MSP-Greg
66308367ad
log output - all 'ing', align
2022-01-13 19:25:34 +01:00
MSP-Greg and Lars Kanis
23b44d8ec5
Use ridk enable to set MSYS2 ENV variables
...
Co-authored-by: Lars Kanis <lars@greiz-reinsdorf.de >
2022-01-13 19:25:34 +01:00
MSP-Greg
226c4cceaa
Add Windows MSYS2 ucrt and Windows-2022 support
2022-01-13 19:25:34 +01:00
Benoit Daloze
ac03cb7d18
Use .test() instead of .match() where possible
2021-09-25 13:45:43 +02:00
Benoit Daloze
ae9cb3b565
Add Ruby 1.9 on Linux and macOS
...
* On Windows there are no 64-bit builds of Ruby 1.9.
* Fix floatVersion() for head versions.
* Use floatVersion() in more cases instead of regexps.
* Rely on ~/.gemrc to not install gem docs.
2021-08-01 14:56:11 +02:00
Benoit Daloze
77ca66ce27
Add 2.0.0 on Windows too
2021-05-31 22:18:27 +02:00
Benoit Daloze
2eb6adbfb1
Update URLs for RubyInstaller 1 and DevKit
...
* See https://github.com/ruby/setup-ruby/issues/171
and https://github.com/oneclick/rubyinstaller/issues/400
2021-04-26 23:48:02 +02:00
Benoit Daloze
e5a267414f
Fix value for options
2020-12-07 21:12:36 +01:00
Benoit Daloze
23b2b5e5f1
Create the .complete file so tc.find() can find it for future runs for self-hosted runners
2020-12-05 16:36:46 +01:00
Benoit Daloze
42fc2d3bce
Reuse builds in the toolcache when they exist
2020-12-05 16:18:50 +01:00
Benoit Daloze
e38f9abc9e
Fix usages of string.split(sep, limit)
...
* Since the limit just removes further matches in JavaScript.
2020-11-19 00:33:40 +01:00
Benoit Daloze
ba761ba8ff
Use a hardcoded toolcache path since we need to extract there to let Ruby work
2020-11-10 19:58:59 +01:00
Benoit Daloze
933dca770c
Extract CRuby releases under $RUNNER_TOOL_CACHE
2020-11-09 13:00:42 +01:00
Benoit Daloze
108b3a2c8a
Various cleanups
2020-09-03 13:42:03 +02:00
Benoit Daloze
25ccf0aad8
Fix interpolation in addVCVARSEnv()
2020-09-03 13:42:03 +02:00
MSP-Greg
6ead459c74
Add envPreInstall, common.setupPath, use MSYS2 bash for Windows bash
...
envPreInstall - sets ENV values for runners
common.setupPath - collects all Path operations into one function, runs before Ruby install
Add MSYS2 paths to all Windows builds for MSYS2 Bash use
2020-09-03 12:13:49 +02:00
MSP-Greg
45ec312a6e
windows.js - remove code for embedded MSYS2
2020-09-03 12:13:49 +02:00
Holger Just
5a76bd6a5f
Add support for Ruby 2.1 ( #71 )
2020-07-16 22:23:31 +02:00
Benoit Daloze
e5857dbffe
Pass the validated engine and version to install()
2020-05-13 23:36:33 +02:00
Benoit Daloze
e9b0369f85
Add groups to clarify output and measure the time each group takes
2020-04-05 14:09:18 +02:00
Benoit Daloze
11238a2c00
Install Bundler at runtime if not already part of the stdlib
...
* This gives more flexibility to choose the Bundler version.
2020-03-31 22:23:11 +02:00
MSP-Greg
e648fd85b4
Windows - set ENV['MAKE']
2020-03-31 18:44:54 +02:00
Benoit Daloze
9c77d1b41f
Prefer path.delimiter to the hardcoded value
2020-03-30 22:04:39 +02:00
MSP-Greg
2641afc25c
Windows MSYS - move install to ssd drive
2020-03-30 12:28:12 +02:00
Benoit Daloze
e0c562b83f
Call 7z silently since it's too verbose
2020-03-28 14:05:21 +01:00
MSP-Greg
0a45f18d44
windows.js - install old MSYS devkit for MinGW 2.2 and 2.3
2020-03-28 14:00:06 +01:00
Benoit Daloze
ae39a8d7d2
Deduplicate the list of path entries for MSYS2
2020-03-24 18:49:35 +01:00
MSP-Greg
f70e6bf7d0
Update for Actions MSYS2 install
...
1. Use 'Git for Windows' cert.pem file
2. Add MSYS2 to path for mswin (after msvc additions)
3. Rearrange code for cleanup when MSYS2 is added to Window image
2020-03-24 18:45:54 +01:00
Benoit Daloze
67ca12cfaa
Small cleanups
2020-03-07 14:30:46 +01:00
Benoit Daloze
2e093de9b3
Use an array of PATH entries rather a string or null
2020-03-07 14:13:52 +01:00
MSP-Greg
8d89ffaa2b
Reorganize path manipulation, mswin tools ENV
...
1. Use only one 'core' call to set PATH
2. Clean PATH
3. Windows mswin - add vcvars*.bat changes to ENV
2020-03-07 13:41:58 +01:00
Benoit Daloze
91a6c780c4
Reword comment
2020-02-24 22:52:23 +01:00
Benoit Daloze
dbcdcf481d
Simplify the logic to set up certs dir and cert.pem
2020-02-24 22:52:23 +01:00
MSP-Greg
20324f7e34
Add ruby-loco mingw and mswin
...
1. Add ruby-loco mingw and mswin
2. Split workflow jobs into common and specials
3. Adjust workflow for mswin - 'ridk version' & 'c extension' steps
2020-02-24 22:01:08 +01:00
Benoit Daloze
55dff253ca
Do not remove any dev tools from PATH on Windows
...
* This might lead to more conflicts, but the flip side of a setup action
removing capabilities seems worse and unexpected.
* See https://github.com/ruby/setup-ruby/issues/19
2020-02-09 23:38:26 +01:00