MSP-Greg
eaecf785f6
Handle win2019 gcc issue
2025-05-01 10:48:55 +02:00
なつき
dffc446db9
Support windows-11-arm
2025-04-26 12:43:27 +02:00
MSP-Greg
558057564b
Add windows-toolchain input
2024-01-22 11:07:31 +01:00
MSP-Greg
e6689b4deb
Update yarn.lock, remove Windows mswin ssl cert related code
2023-03-16 18:55:42 +01:00
Benoit Daloze
59b5745c73
Use tc.find() with the effective tool cache path
...
* So it finds already-download prebuilt Ruby in the GH-hosted tool cache path
on self-hosted, where $RUNNER_TOOL_CACHE is often different than on GH-hosted.
* See #475 .
* This relies on tc.find() looking up the env var every time:
https://github.com/actions/toolkit/blob/1f4b3fac06/packages/tool-cache/src/tool-cache.ts#L522
2023-03-05 14:56:02 +01:00
Benoit Daloze
d03a71de6e
Fix tc.find() calls to use the proper name on self-hosted
2023-03-05 14:56:02 +01:00
Benoit Daloze
66dc012cc3
Detect self-hosted runners not matching a GitHub-hosted runner image
...
* And give instructions for that case.
* Get the OS and OS version ourselves since some users set ImageOS incorrectly.
* This partially reverts commit ad1ebae995 .
2023-03-03 16:33:57 +01:00
MSP-Greg
ee26e27437
Updates for Windows MSYS2 update to OpenSSL 3
2023-01-21 18:22:09 +01:00
MSP-Greg
fe42d0e73b
Windows - updates for using OpenSSL 3 in Ruby 3.2 & head
2022-12-30 14:40:10 +01:00
Benoit Daloze
8029ebd6e5
Cleanup
2022-05-17 18:24:10 +02:00
MSP-Greg
be54de855e
Windows mswin - install vcpkg archive with required Ruby packages, cert
2022-05-17 18:24:10 +02:00
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