mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[Windows] move llvm to toolset (#4487)
This commit is contained in:
10
images/win/scripts/Installers/Install-LLVM.ps1
Normal file
10
images/win/scripts/Installers/Install-LLVM.ps1
Normal file
@@ -0,0 +1,10 @@
|
||||
################################################################################
|
||||
## File: Install-LLVM.ps1
|
||||
## Desc: Install the latest stable version of llvm and clang compilers
|
||||
################################################################################
|
||||
|
||||
$llvmVersion = (Get-ToolsetContent).llvm.version
|
||||
$latestChocoVersion = Get-LatestChocoPackageVersion -TargetVersion $llvmVersion -PackageName "llvm"
|
||||
Choco-Install -PackageName llvm -ArgumentList "--version $latestChocoVersion"
|
||||
|
||||
Invoke-PesterTests -TestFile "LLVM"
|
||||
Reference in New Issue
Block a user