mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
Msys2 clang-tools-extra have been added to windows deployment (#1311)
* clang-tidy.exe has been added * tools have been split to tools64\32
This commit is contained in:
@@ -60,17 +60,18 @@ Write-Host "`n$dash Remove p7zip/7z package due to conflicts"
|
||||
pacman.exe -R --noconfirm --noprogressbar p7zip
|
||||
|
||||
# mingw package list
|
||||
$tools = "___clang ___cmake ___llvm ___toolchain ___ragel"
|
||||
$tools64 = "___clang ___clang-tools-extra ___cmake ___llvm ___toolchain ___ragel"
|
||||
$tools32 = "___clang ___cmake ___llvm ___toolchain ___ragel"
|
||||
|
||||
# install mingw64 packages
|
||||
Write-Host "`n$dash Install mingw64 packages"
|
||||
$pre = "mingw-w64-x86_64-"
|
||||
pacman.exe -S --noconfirm --needed --noprogressbar $tools.replace('___', $pre).split(' ')
|
||||
pacman.exe -S --noconfirm --needed --noprogressbar $tools64.replace('___', $pre).split(' ')
|
||||
|
||||
# install mingw32 packages
|
||||
Write-Host "`n$dash Install mingw32 packages"
|
||||
$pre = "mingw-w64-i686-"
|
||||
pacman.exe -S --noconfirm --needed --noprogressbar $tools.replace('___', $pre).split(' ')
|
||||
pacman.exe -S --noconfirm --needed --noprogressbar $tools32.replace('___', $pre).split(' ')
|
||||
|
||||
# clean all packages to decrease image size
|
||||
Write-Host "`n$dash Clean packages"
|
||||
|
||||
Reference in New Issue
Block a user