mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-25 00:15:11 +08:00
The builtin way of Windows for handling zip files is much slower than using 7zip. A small benchmark (not representative, just extracting the android ndk) showed 11 minutes using Extract-Zip vs 2,5 minutes using Extract-7Zip on my machine. Change-Id: I5198aabb5b75860ead687581fc5e368eb75e48ae Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
12 lines
379 B
PowerShell
12 lines
379 B
PowerShell
. "$PSScriptRoot\helpers.ps1"
|
|
|
|
$zip = "c:\users\qt\downloads\jom_1_1_2.zip"
|
|
|
|
Invoke-WebRequest -UseBasicParsing http://download.qt.io/official_releases/jom/jom_1_1_2.zip -OutFile $zip
|
|
Verify-Checksum $zip "80EE5678E714DE99DDAF5F7593AB04DB1C7928E4"
|
|
Extract-7Zip $zip C:\Utils\Jom
|
|
|
|
Set-EnvironmentVariable "CI_JOM_PATH" "C:\Utils\Jom"
|
|
|
|
Write-Output "Jom = 1.1.2" >> ~/versions.txt
|