mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-01 00:56:48 +08:00
There are two image templates right away: -70 is Windows 11 with no Visual Studio or Windows SDK ever installed. -71 includes VS2022 17.9.1 (MSVC 14.39.33519) and Windows SDK 10.0.26100.1742 Image changes compared to 23h2: - VS2019 is left out as it's no longer used in provisioning scripts. - Old DirectX installation (10-dxsdk.ps1) is left out. It's legacy, originally used for Windows 7, and newer libraries should be found from Windows SDK. - 08-libclang-v100-dyn.ps1 is removed as it's no longer used. It had dependency to VS2019. - These images use UEFI instead of BIOS. [CI Platforms] Task-number: QTQAINFRA-6734 Task-number: QTQAINFRA-6823 Change-Id: I53a62c74b07d7fbfc9b1afbe44444272ae7c51e7 Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
25 lines
1001 B
PowerShell
25 lines
1001 B
PowerShell
# Copyright (C) 2025 The Qt Company Ltd
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
|
|
# Copyright (C) 2017 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
|
|
. "$PSScriptRoot\..\common\windows\helpers.ps1"
|
|
|
|
# This script will install VirtualBox
|
|
|
|
$version = "5.2.4"
|
|
$sha1 = "71df4474a5e94918728b62d1f6bc036674ef0e96"
|
|
$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\VirtualBox-" + $version + "-119785-Win.exe"
|
|
$url_official = "http://download.virtualbox.org/virtualbox/" + $version + "/VirtualBox-" + $version + "-119785-Win.exe"
|
|
$virtualboxPackage = "C:\Windows\Temp\virtualbox-$version.exe"
|
|
|
|
Download $url_official $url_cache $virtualboxPackage
|
|
Verify-Checksum $virtualboxPackage $sha1
|
|
Run-Executable $virtualboxPackage "--silent"
|
|
|
|
Write-Output "Cleaning $virtualboxPackage.."
|
|
Remove "$virtualboxPackage"
|
|
|
|
Write-Output "VirtualBox = $version" >> ~\versions.txt
|