mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-27 07:06:33 +08:00
Build and cache docker images to VirtualBox virtual machine. 1. Download and install the docker tool kits and Apple Bonjour 2. Deploy boot2docker image into VirtualBox via docker-machine commands 3. Use Git Bash to run the shared provisioning scripts 4. Print CPU features to verify that CI has enabled VT-X/AMD-v support 5. Disable Hyper-V from Windows 10 Pro/Enterprise editions Change-Id: I5520e4a28376aba14f880c077bd7b083be971f0a Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
7 lines
371 B
PowerShell
7 lines
371 B
PowerShell
# Disable Hyper-V from Windows 10 Pro/Enterprise
|
|
# Because VirtualBox is a type 2 hypervisor, it can't run if Hyper-V virtual machines are in use.
|
|
# Otherwise, docker-machine will complain about "VT-x is not available (VERR_VMX_NO_VMX)".
|
|
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All -NoRestart
|
|
|
|
. "$PSScriptRoot\..\common\windows\docker.ps1"
|