Install MSYS2 to Windows.#585
Conversation
|
/azp run windows2016, windows2019 |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
@MSP-Greg , thanks for your point about embedded msys! We will investigate the possibility of getting rid of it because we're building those Ruby versions on the same windows images so it looks like we need msys2 preinstalled firstly. |
|
Off-topic, kind of Ruby specific I don't know, as I think the Ruby build/install code is in the super top secret vault area. JFYI, the current script for installing MSYS2 does not contain all the dependencies needed to build Ruby. I thought keeping it a small as possible was a concern. I also thought that once one starts including packages beyond build tools, it's difficult to decide what should be included. AppVeyor did, and they've got a lot of packages (see https://ci.appveyor.com/project/MSP-Greg/appveyor-ruby). As to the pre-installed Rubies, they are available in GitHub releases as exe's or 7z files (without devkit/MSYS2); it might be easier to use those. After all, that is what normal users would install... One thing I did see, below (line 75) is updating RubyGems for the system default Ruby (currently 2.5.x). You might consider doing so for all installed Rubies, or none. To update for just one may be confusing? |
we are going to move ruby build/install code to opensource soon.
Could you please clarify what GitHub releases do you mean? |
|
/azp run windows2016, windows2019 |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Sorry. See the releases/tags listed at https://github.com/oneclick/rubyinstaller2/tags. There are multiple files per release, both 64 and 32 bit, and with and without devkit/msys2. For example, the 2.7.0 release without devkit/msys2 is: Other than the root folder issue, it's everything needed. EDIT: The custom action ruby/setup-ruby allows installation of virtually any version/platform of Ruby since v2.2.0. It uses the above mentioned builds (https://github.com/oneclick/rubyinstaller2) for its release binaries on Windows. |
|
@MSP-Greg , I've got it, thank you! |
|
/azp run windows2016, windows2019 |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
/azp run windows2016, windows2019 |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Issue: #30
Added scripts for installation and validation MSYS2. This PR is based on PR #355 from @MSP-Greg
Installation time: 6 - 7 min
Size: ~4.2 Gb