mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[macOS] Skip Intel HAXM installation on BigSur (#3698)
* Remove HAXM installation as it doesn't work on Big Sur * Change test to validate successful kext load * Add HAXM to software report
This commit is contained in:
@@ -187,3 +187,11 @@ function Get-AndroidNDKVersions {
|
||||
|
||||
return ($versions -Join "<br>")
|
||||
}
|
||||
|
||||
function Get-IntelHaxmVersion {
|
||||
kextstat | Where-Object { $_ -match "com.intel.kext.intelhaxm \((?<version>(\d+\.){1,}\d+)\)" } | Out-Null
|
||||
return [PSCustomObject] @{
|
||||
"Package Name" = "Intel HAXM"
|
||||
"Version" = $Matches.Version
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user