mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[MacOS] Unpin Virtualbox (#8653)
* [MacOS] Unpin Virtualbox * Remove obsolete virtualbox kext pester test
This commit is contained in:
committed by
GitHub
parent
804aabd786
commit
f3d011eec1
@@ -13,18 +13,7 @@ done
|
|||||||
cask_packages=$(get_toolset_value '.brew.cask_packages[]')
|
cask_packages=$(get_toolset_value '.brew.cask_packages[]')
|
||||||
for package in $cask_packages; do
|
for package in $cask_packages; do
|
||||||
echo "Installing $package..."
|
echo "Installing $package..."
|
||||||
if [[ $package == "virtualbox" ]]; then
|
brew install --cask $package
|
||||||
if ! is_Ventura || ! is_VenturaArm64; then
|
|
||||||
# VirtualBox 7 crashes
|
|
||||||
# macOS host: Dropped all kernel extensions. VirtualBox relies fully on the hypervisor and vmnet frameworks provided by Apple now.
|
|
||||||
vbcask_url="https://raw.githubusercontent.com/Homebrew/homebrew-cask/aa3c55951fc9d687acce43e5c0338f42c1ddff7b/Casks/virtualbox.rb"
|
|
||||||
download_with_retries $vbcask_url
|
|
||||||
brew install ./virtualbox.rb
|
|
||||||
rm ./virtualbox.rb
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
brew install --cask $package
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
# Load "Parallels International GmbH"
|
# Load "Parallels International GmbH"
|
||||||
|
|||||||
@@ -123,12 +123,6 @@ Describe "Go" -Skip:($os.IsVentura -or $os.IsVenturaArm64) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "VirtualBox" -Skip:($os.IsBigSur -or $os.IsVentura -or $os.IsVenturaArm64) {
|
|
||||||
It "Check kext kernel modules" {
|
|
||||||
kextstat | Out-String | Should -Match "org.virtualbox.kext"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Describe "CodeQL Bundle" {
|
Describe "CodeQL Bundle" {
|
||||||
It "Is installed" {
|
It "Is installed" {
|
||||||
$CodeQLVersionWildcard = Join-Path $Env:AGENT_TOOLSDIRECTORY -ChildPath "CodeQL" | Join-Path -ChildPath "*"
|
$CodeQLVersionWildcard = Join-Path $Env:AGENT_TOOLSDIRECTORY -ChildPath "CodeQL" | Join-Path -ChildPath "*"
|
||||||
|
|||||||
Reference in New Issue
Block a user