mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-29 21:07:59 +08:00
Update Clang/LLVM test to use absolute path (#5819)
This commit is contained in:
committed by
GitHub
parent
5b652198fe
commit
b495a035c4
@@ -3,7 +3,7 @@ $os = Get-OSVersion
|
||||
Describe "Clang/LLVM" {
|
||||
It "Clang/LLVM is installed and version is correct" {
|
||||
$toolsetVersion = Get-ToolsetValue 'llvm.version'
|
||||
$clangVersion = & "$(brew --prefix llvm)/bin/clang" --version
|
||||
$clangVersion = & "$(brew --prefix llvm@$toolsetVersion)/bin/clang" --version
|
||||
$clangVersion[0] | Should -BeLike "*${toolsetVersion}*"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user