mirror of
https://github.com/actions/runner-images.git
synced 2026-01-05 01:35:22 +08:00
[macOS] move llvm to toolset (#4457)
This commit is contained in:
9
images/macos/tests/LLVM.Tests.ps1
Normal file
9
images/macos/tests/LLVM.Tests.ps1
Normal file
@@ -0,0 +1,9 @@
|
||||
$os = Get-OSVersion
|
||||
|
||||
Describe "Clang/LLVM" -Skip:($os.IsMonterey) {
|
||||
It "Clang/LLVM is installed and version is correct" {
|
||||
$toolsetVersion = Get-ToolsetValue 'llvm.version'
|
||||
$clangVersion = & "$(brew --prefix llvm)/bin/clang" --version
|
||||
$clangVersion[0] | Should -BeLike "*${toolsetVersion}*"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user