mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
Add LLVM via choco (#4056)
This commit is contained in:
@@ -94,6 +94,11 @@ function Get-JuliaVersion {
|
||||
return "Julia $juliaVersion"
|
||||
}
|
||||
|
||||
function Get-LLVMVersion {
|
||||
$llvmVersion = [regex]::matches($(clang --version), "\d+\.\d+\.\d+").Value
|
||||
return "LLVM $llvmVersion"
|
||||
}
|
||||
|
||||
function Get-PerlVersion {
|
||||
($(perl --version) | Out-String) -match "\(v(?<version>\d+\.\d+\.\d+)\)" | Out-Null
|
||||
$perlVersion = $Matches.Version
|
||||
|
||||
Reference in New Issue
Block a user