mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-26 00:26:26 +08:00
Visual Studio 2022 is the first msvc having natively support for
building and debugging ARM64 apps. [CI Platforms]
Provisioning needed to take new Get-CpuArchitecture
helpers.ps1 function into use in several installations.
Requirements for other branches
- Get-CpuArchitecture helpers.ps1 function
- Skip qtwebengine with Windows 11 ARM (QTBUG-124632)
List of excluded installations in Windows on ARM:
- Could be added later
- MinGW - QTQAINFRA-6079
- DirectX SDK for RTA
- libclang
- mcuexpresso
- fbx for msvc2022
- Ruby
- For python
- conan
- emsdk
- Not supported yet
- FFmpeg
- Msys2 (for FFmpeg QTBUG-124399)
- MySQL
- PostgreSQL
- Java JDK
- Strawberry Perl
Task-number: QTQAINFRA-6109
Task-number: QTQAINFRA-5855
Pick-to: 6.7
Change-Id: I4130e78add53f8a6e05eb41b7617b3f9ca802178
Reviewed-by: Simo Fält <simo.falt@qt.io>
48 lines
1.3 KiB
PowerShell
48 lines
1.3 KiB
PowerShell
# 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\helpers.ps1"
|
|
|
|
# This script will install Notepad++
|
|
|
|
$version = "8.6.5"
|
|
|
|
$cpu_arch = Get-CpuArchitecture
|
|
switch ($cpu_arch) {
|
|
arm64 {
|
|
$arch = ".arm64"
|
|
$sha1 = "eecb8a6b6ed3cb1e467d227b8b7751283c35434e"
|
|
Break
|
|
}
|
|
x64 {
|
|
$arch = ".x64"
|
|
$sha1 = "a0bf3fb15015bc1fbcb819d9a9c61f4762f4a10f"
|
|
Break
|
|
}
|
|
x86 {
|
|
$arch = ""
|
|
$sha1 = "ba940c6b526da1ce127f43b835b4d8c9d5c4b59c"
|
|
Break
|
|
}
|
|
default {
|
|
throw "Unknown architecture $cpu_arch"
|
|
}
|
|
}
|
|
|
|
$filename_exe = "npp." + $version + ".Installer" + $arch + ".exe"
|
|
$url_cache = "https://ci-files01-hki.ci.qt.io/input/windows/" + $filename_exe
|
|
$url_official = "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v" + $version + "/" + $filename_exe
|
|
$nppPackage = "C:\Windows\Temp\npp-$version.exe"
|
|
|
|
Download $url_official $url_cache $nppPackage
|
|
Verify-Checksum $nppPackage $sha1
|
|
Run-Executable "$nppPackage" "/S"
|
|
|
|
Write-Host "Cleaning $nppPackage.."
|
|
Remove "$nppPackage"
|
|
|
|
Write-Output "Notepad++ = $version" >> ~\versions.txt
|
|
|
|
Write-Host "Disabling auto updates."
|
|
Rename-Item -Path "C:\Program Files\Notepad++\updater" -NewName "updater_disabled"
|