Files
runner-images/images/win/scripts/Installers/Install-Mingw64.ps1
Aleksandr Chebotov e508e876f7 [Windows] Define mingw 8.1.0 (#2431)
* install the latest version

* Revert "install the latest version"

This reverts commit ddf40964b5.

* define mingw 8.1.0 version
2021-01-13 20:34:29 +03:00

14 lines
636 B
PowerShell

################################################################################
## File: Install-Mingw64.ps1
## Desc: Install GNU tools for Windows
################################################################################
Choco-Install -PackageName mingw -ArgumentList "--version=8.1.0"
# 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')
Invoke-PesterTests -TestFile "Tools" -TestName "Mingw64"