mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
* [Windows] Refactor base Installer helper functions * Fix helper name * Fix name gen logic and improve error handling * Fix hash checking logic * Fix Install-VsixExtension invocation * Fix variable name in Install-OpenSSL.ps1 * Fix type for git downloadUrl
11 lines
521 B
PowerShell
11 lines
521 B
PowerShell
################################################################################
|
|
## File: Install-LLVM.ps1
|
|
## Desc: Install the latest stable version of llvm and clang compilers
|
|
################################################################################
|
|
|
|
$llvmVersion = (Get-ToolsetContent).llvm.version
|
|
$latestChocoVersion = Resolve-ChocoPackageVersion -PackageName "llvm" -TargetVersion $llvmVersion
|
|
Install-ChocoPackage llvm -ArgumentList '--version', $latestChocoVersion
|
|
|
|
Invoke-PesterTests -TestFile "LLVM"
|