Install llvm version correctly (#5288)

* Install llvm version correctly

* Move llvm installation to script for win22
This commit is contained in:
Mikhail Timofeev
2022-03-26 23:24:26 +04:00
committed by GitHub
parent 7fc477ed20
commit bdd8f81329
3 changed files with 6 additions and 3 deletions

View File

@@ -5,6 +5,6 @@
$llvmVersion = (Get-ToolsetContent).llvm.version
$latestChocoVersion = Get-LatestChocoPackageVersion -TargetVersion $llvmVersion -PackageName "llvm"
Choco-Install -PackageName llvm -ArgumentList "--version $latestChocoVersion"
Choco-Install -PackageName llvm -ArgumentList '--version', $latestChocoVersion
Invoke-PesterTests -TestFile "LLVM"