mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 22:36:46 +00:00
* Add basic choco install wrapper * Use Install-Choco on mingw * move azure-cli install to defence * Rename ChocoInstall to ChocoHelpers
14 lines
594 B
PowerShell
14 lines
594 B
PowerShell
################################################################################
|
|
## File: Install-MinGW.ps1
|
|
## Desc: Install GNU tools for Windows to C:\tools\mingw64
|
|
################################################################################
|
|
|
|
Import-Module -Name ImageHelpers -Force
|
|
|
|
Install-Choco "mingw"
|
|
|
|
# Make a copy of mingw32-make.exe to make.exe, which is a more discoverable name
|
|
# and so the same command line can be used on Windows as on macOS and Linux
|
|
$path = where.exe mingw32-make.exe | Get-Item
|
|
Copy-Item -Path $path -Destination (Join-Path $path.Directory 'make.exe')
|