Add MSYS2 and some of its packages to Windows image
See original GitHub issueI need MSYS2 added to the windows.vs2022.amd64 image, plus ideally a handful of packages - this is part of the regular AzDO Hosted pool, but seems not to be present on our pool’s images. Right now, I’m using:
(New-Object System.Net.WebClient).DownloadFile('https://github.com/msys2/msys2-installer/releases/download/nightly-x86_64/msys2-base-x86_64-latest.sfx.exe', 'msys2.exe')
.\msys2.exe -y -oC:\ # Extract to C:\msys64
Remove-Item msys2.exe # Delete the archive again
C:\msys64\usr\bin\bash -lc ' '
C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu'
C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -S msys/make msys/ninja msys/cmake msys/diffutils'
on a per-build basis. We should probably bake it in, to avoid the repeated downloads & extra point of failure.
(These instructions are pretty much direct from the MSYS2 website page on CI integration, https://www.msys2.org/docs/ci/#other-systems )
Release Note Category
- Feature changes/additions
- Bug fixes
- Internal Infrastructure Improvements
Release Note Description
Issue Analytics
- State:
- Created 6 months ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Using MSYS2 in CI
In case you want to update the MSYS2 installation and install packages you need to ... Install MSYS2 under C:\msys64 into a Windows...
Read more >Add MSYS2 to Windows · Issue #30 · actions/runner-images
There's no reason to presume that. We are using MSYS2 to test Windows compilation of our project using GCC and Clang (in parallel...
Read more >Add msys2 support - Windows
Upgrading the following packages: git.install By upgrading you accept licenses for the packages. You have git.install v2.19.1 installed. Version ...
Read more >Setting Up Msys2;MinGW64 for Windows - Boseji's Lab
Guide to creating windows build environment for MinGW64. ... There are some pictures in the Msys2 Website. You can follow them as well....
Read more >How to Install MSYS2 with MinGW-w64 - YouTube
Download and run the installer from https:// msys2.github.io/ Run the MSYS2 shell after the installation and update the core with the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
👍 my build is green with
1es-windows-2022
and:Yeah I think this is an improvement. Certainly an improvement over downloading a nightly build of msys2