actions / runner-images

GitHub Actions runner images
MIT License
9.4k stars 2.91k forks source link

Add Parallels to macos-14 #10143

Open zadesai opened 1 week ago

zadesai commented 1 week ago

Tool name

Parallels + Parallels SDK

Tool license

Paid.

Add or update?

Desired version

latest Parallels - currently 19.4.0-54962 and Parallels SDK - currently 19.4.0-54962

Approximate size

No response

Brief description of tool

Add Parallels and enable its Kernel extension. This request is the same as https://github.com/actions/runner-images/issues/6105 for macos-12. This request is to add Parallels, enable the Kernel extension, Reboot and then remove Parallels.

Product URLS: https://download.parallels.com/desktop/v19/19.4.0-54962/ParallelsDesktop-19.4.0-54962.dmg https://download.parallels.com/desktop/v19/19.4.0-54962/ParallelsVirtualizationSDK-19.4.0-54962-mac.dmg

URL for tool's homepage

https://www.parallels.com/

Provide a basic test case to validate the tool's functionality.

dbName="/var/db/SystemPolicyConfiguration/KextPolicy" dbQuery="SELECT * FROM kext_policy WHERE bundle_id LIKE 'com.parallels.kext.hypervisor';" kext=$(sudo sqlite3 $dbName "$dbQuery")

if [[ -z $kext ]]; then echo "Parallels hypervisor not found" else echo $kext fi

Platforms where you need the tool

Runner images where you need the tool

Can this tool be installed during the build?

brew install --cask parallels
brew install --cask parallels-virtualization-sdk

(A reboot is needed afterwards)

Tool installation time in runtime

around 1 minute

Are you willing to submit a PR?

Yes

sarathrajsrinivasan commented 6 days ago

Hi @zadesai

We are looking into it. Will keep you posted.

prasanjitsahoo commented 3 days ago

Hi @zadesai

The current labels 'macos-latest' and 'macos-14' are Arm64 based machines and are built using a virtualization platform. Due to the limitation of Apple's Virtualization Framework, Nested-virtualization is not supported in arm64 macOS runners.

The macos14 intel based machines are large runners (macos-latest-large or macos-14-large). Larger runners are only available for organizations and enterprises using the GitHub Team or GitHub Enterprise Cloud plans.

Could you please confirm the runner you are using? If it is arm64 runners we will not be able to add parallels as mentioned above.

Please find the limitations for the runners here : https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#limitations-for-arm64-macos-runners