mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 18:19:54 +08:00
Rename Mingw-w64 (#893)
This commit is contained in:
committed by
GitHub
parent
8632288097
commit
a12a3b7042
13
images/win/scripts/Installers/Install-Mingw64.ps1
Normal file
13
images/win/scripts/Installers/Install-Mingw64.ps1
Normal file
@@ -0,0 +1,13 @@
|
||||
################################################################################
|
||||
## File: Install-Mingw64.ps1
|
||||
## Desc: Install GNU tools for Windows to C:\tools\mingw64
|
||||
################################################################################
|
||||
|
||||
Import-Module -Name ImageHelpers -Force
|
||||
|
||||
Choco-Install -PackageName 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')
|
||||
Reference in New Issue
Block a user