mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Provisioning: Update Windows 10 x86_64 to version 2004
MSVC 2019 version 16.6.2 MSVC 2019 Build Tools version 16.6.2 Virtio driver Virtio Balloon driver NetKVM driver Task-number: QTQAINFRA-3818 Task-number: QTQAINFRA-3817 Change-Id: Id0edee66d4eb42730a70495dbb063a0d379f026c Reviewed-by: Toni Saario <toni.saario@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
committed by
Tony Sarajärvi
parent
c1b06ec3e5
commit
ba4eb4929e
@@ -17,7 +17,7 @@ Configurations:
|
||||
Configure arguments: '-DBUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_framework=ON -DCMAKE_OSX_SYSROOT:PATH=/Applications/Xcode11.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl'
|
||||
Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="RelWithDebInfo;Debug" -DBUILD_EXAMPLES=OFF -DBUILD_WITH_PCH=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DFEATURE_system_zlib=OFF'
|
||||
@@ -47,7 +47,7 @@ Configurations:
|
||||
Configure arguments: '-DBUILD_EXAMPLES=OFF -DCMAKE_OSX_SYSROOT:PATH=/Applications/Xcode11.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl'
|
||||
Environment variables: ['TARGET_CONFIGURE_ARGS=-DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=OFF -DCMAKE_SYSTEM_NAME=iOS -DQT_FORCE_SIMULATOR_AND_DEVICE=ON', 'NON_QTBASE_CONFIGURE_ARGS=', 'NON_QTBASE_TARGET_CONFIGURE_ARGS=']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Compiler: 'Mingw'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DBUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DFEATURE_system_zlib=OFF -DFEATURE_system_tiff=OFF -DFEATURE_system_freetype=OFF -DFEATURE_system_jpeg=OFF'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['UseLegacyInstructions']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -headersclean -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -qt-zlib'
|
||||
|
||||
@@ -2,12 +2,12 @@ Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Target arch: 'x86'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
|
||||
@@ -2,13 +2,13 @@ Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Compiler: 'MSVC2015'
|
||||
Target arch: 'x86'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-opensource -confirm-license -nomake tests -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -opengl dynamic -static -no-icu -nomake examples -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86%'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Compiler: 'MSVC2015'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-opensource -confirm-license -nomake tests -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -opengl dynamic -static -no-icu -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64%'
|
||||
|
||||
@@ -2,13 +2,13 @@ Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Compiler: 'Mingw'
|
||||
Environment variables: ['PATH=C:\MINGW810\mingw64\bin;$PATH']
|
||||
Features: ['DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -force-debug-info -separate-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++ QMAKE_LFLAGS_APP+=-s -qt-zlib'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'multi'
|
||||
Compiler: 'Mingw'
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Compiler: 'Mingw'
|
||||
Environment variables: ['PATH=C:\MINGW810\mingw64\bin;$PATH']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -developer-build -nomake tests -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++'
|
||||
Features: ['UseLegacyInstructions']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Compiler: 'Mingw'
|
||||
Environment variables: ['PATH=C:\MINGW810\mingw64\bin;$PATH']
|
||||
Features: ['Packaging', 'DisableTests', 'UseLegacyInstructions']
|
||||
|
||||
@@ -2,7 +2,7 @@ Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['UseLegacyInstructions']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -headersclean -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -qt-zlib'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Compiler: 'Mingw'
|
||||
Environment variables: ['PATH=C:\MINGW810_i686\mingw32\bin;$PATH']
|
||||
Features: ['Packaging', UseLegacyInstructions']
|
||||
|
||||
@@ -2,12 +2,12 @@ Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-17'
|
||||
Template: 'qtci-windows-10-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Target arch: 'x86'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
|
||||
@@ -10,12 +10,13 @@ Video Card - total memory: 32MB
|
||||
VM Options:
|
||||
Boot options/Firmware: BIOS
|
||||
|
||||
Language: English US
|
||||
Keyboard: finnish
|
||||
Language to install: English UK
|
||||
Time and currency format: English UK
|
||||
Keyboard or input method: United Kingdom
|
||||
location: finnish
|
||||
Windows 10 Enterprise
|
||||
Region: Finland
|
||||
Keyboard layout: Finnish
|
||||
Keyboard layout: United Kingdom
|
||||
|
||||
* VMware tools (complete) installed
|
||||
* Resolution set to 1280x800
|
||||
@@ -27,24 +28,29 @@ Keyboard layout: Finnish
|
||||
- Enabling autologin
|
||||
- Automatic login
|
||||
- Disabling windows updates
|
||||
* Windows Defender Antivirus turned off: Open 'gpedit.msc': 'Computer Configuration' - 'Administrative Templates' - 'Windows Components' - 'Windows Defender Antivirus'
|
||||
- Edit 'Turn off Windows Defender Antivirus' > 'Enabled' > 'Apply'
|
||||
* Microsoft Defender Antivirus turned off: Open 'gpedit.msc': 'Computer Configuration' - 'Administrative Templates' - 'Windows Components' - 'Microsoft Defender Antivirus'
|
||||
- Edit 'Turn off Microsoft Defender Antivirus' > 'Enabled' > 'Apply'
|
||||
- NOTE! Without this step windows defender can't be disabled!
|
||||
* Remote connections allowed:
|
||||
- Enable Remote Desktop
|
||||
* Background defrag disabled: 'defragment and optimize drives' - 'change settings' - unchecked "run on a schedule"
|
||||
* Background defrag disabled: 'Defragment And Optimize Drives' - 'change settings' - unchecked "run on a schedule"
|
||||
- Run in terminal: 'schtasks /Delete /TN "Microsoft\Windows\Defrag\ScheduledDefrag"'
|
||||
* Time zone: Coordinated Universal Time
|
||||
* Time zone: 'Co-ordinated Universal Time'
|
||||
* Windows search disabled: 'Control Panel\System and Security\Administrative Tools\Services' - 'Windows search' - stop & disable
|
||||
* Sysmain disabled: 'Control Panel\System and Security\Administrative Tools\Services' - 'SysMain' - stop & disable
|
||||
* Power saver disabled: Open 'Power & sleep' and set 'Screen' to 'never'
|
||||
* Power saver disabled: Open 'Power & sleep settings'
|
||||
- set 'Screen' to 'never'
|
||||
- set 'Sleep' to 'never'
|
||||
* Turn windows features on or off -> Check the "SMB 1.0/CIFS File Sharing Support
|
||||
* (Restart Windows)
|
||||
* Google Chrome installed for RTA
|
||||
* Turn off Virus & threat protection (all sections) manually
|
||||
- Real-tiem protection -> off
|
||||
* Virus & threat protection settings:
|
||||
- Real-time protection -> off
|
||||
- Cloud-delivered protection -> off
|
||||
- Automatic sample submission -> off
|
||||
- Tamper protection -> off
|
||||
* Virus & threat protection notifications:
|
||||
- Get informational notifications -> off
|
||||
- Account protection notifications -> off
|
||||
* Activate Windows
|
||||
* Modify 'Windows Software Development Kit - Windows 10.0.18362.1' from 'Add or remove programs'
|
||||
- Add feature 'Debugging Tools for Windows'
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ $path = "C:\Windows\System32\Tasks\Microsoft\Windows\$name"
|
||||
|
||||
takeown /F $path /A /R
|
||||
icacls $path /grant Administrators:F /T
|
||||
SCHTASKS /Change /TN "Microsoft\Windows\$name\Reboot" /DISABLE
|
||||
del "$path\Schedule Scan"
|
||||
del "$path\Schedule Scan Static Task"
|
||||
del "$path\UpdateModelTask"
|
||||
|
||||
@@ -34,10 +34,11 @@
|
||||
# Visual Studio $version was installed manually using $installer.
|
||||
$version = "2015 update 3"
|
||||
$version_number ="14.0.25420.1"
|
||||
$installer = "http://ci-files01-hki.intra.qt.io/input/windows/en_visual_studio_professional_2015_with_update_3_x86_x64_web_installer_8922978"
|
||||
$installer = "en_visual_studio_professional_2015_with_update_3_x86_x64_web_installer_8922978.exe"
|
||||
|
||||
# default plus following components were selected:
|
||||
# * Visual C++
|
||||
# - Common Tools for Visual C++ 2015
|
||||
# * Universal Windows App Development Tools
|
||||
# - Tools (1.4.1) and Windows SDK (10.0.14393)
|
||||
# - Windows 10 SDK (10.0.10586)
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
$version = "2019"
|
||||
# Current version was manually upgraded from the installer
|
||||
$version_number = "16.4.4"
|
||||
$version_number = "16.6.2"
|
||||
$installer = "http://ci-files01-hki.ci.local/input/windows/vs_professional__505064367.1547034421.exe"
|
||||
|
||||
MSVC 2019 build tools (default installation, no additional selections).
|
||||
* Install after MSVC2019 is installed!
|
||||
* Installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
|
||||
* Version: 16.4.4
|
||||
* Version: 16.6.2
|
||||
|
||||
Installed MSVC-2019 Components:
|
||||
|
||||
@@ -38,14 +38,14 @@ Text Template Transformation
|
||||
C# and Visual Basic Roslyn compilers
|
||||
C++ 2019 Redistributable Update
|
||||
C++ Cmake tools for Windows
|
||||
C++/CLI support for v142 build tools /14.24)
|
||||
C++/CLI support for v142 build tools /14.26)
|
||||
MSBuild
|
||||
MSVC v142 - VS 2019 C++ ARM build tools (v14.20)
|
||||
MSVC v142 - VS 2019 C++ ARM build tools (v14.24)
|
||||
MSVC v142 - VS 2019 C++ ARM build tools (v14.26)
|
||||
MSVC v142 - VS 2019 C++ ARM64 build tools (v14.20)
|
||||
MSVC v142 - VS 2019 C++ ARM64 build tools (v14.24)
|
||||
MSVC v142 - VS 2019 C++ ARM64 build tools (v14.26)
|
||||
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.20)
|
||||
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.24)
|
||||
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.26)
|
||||
.NET profiling tools
|
||||
C++ profiling tools
|
||||
JavaScript diagnostics
|
||||
@@ -57,11 +57,14 @@ Razor Language Services
|
||||
Graphics debugger and GPU profiler for DirectX
|
||||
Image and 3D model editors
|
||||
C++ ATL for latest v142 build tools (x86 & x64)
|
||||
TypeScript 3.7 SDK
|
||||
TypeScript 3.8 SDK
|
||||
Windows 10 SDK (10.0.16299.0)
|
||||
Windows 10 SDK (10.0.17134.0)
|
||||
Windows 10 SDK (10.0.17763.0)
|
||||
Windows 10 SDK (10.0.18362.0)
|
||||
Windows 10 SDK (10.0.19041.0)
|
||||
|
||||
# NOTE! Work loads were added during installation!
|
||||
|
||||
* Modify 'Windows Software Development Kit - Windows 10.0.18362.1' from 'Add or remove programs'
|
||||
- Add feature 'Debugging Tools for Windows'
|
||||
|
||||
27
coin/pre-provisioning/qtci-windows-10-x86_64/virtio.txt
Normal file
27
coin/pre-provisioning/qtci-windows-10-x86_64/virtio.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
Install virtio
|
||||
|
||||
Our vanilla images are pre-installed in VMware where we have networking available. In KVM we can
|
||||
use the VMware installed vmxnet3 NIC to fetch VirtIO drivers, install them, and only then switch
|
||||
to using the VirtIO NIC in KVM.
|
||||
|
||||
* Download https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win-0.1.171.iso
|
||||
* Mount virtio-win-0.1.171.iso by double clicking it.
|
||||
* Right click 'E:\NetKVM\w10\amd64\netkvm.inf' and select Install
|
||||
* Right click 'E:\Balloon\w10\amd64\balloon.inf' and select Install
|
||||
|
||||
* Right click 'E:\vioscsi\w10\amd64\vioscsi.inf' and select Install
|
||||
|
||||
Because vioscsi does not install the entries in windows registry before we actually
|
||||
have a VirtIO device installed, and we can't boot with a VirtIO device before
|
||||
the driver is installed, we have to blindly install the registry entries:
|
||||
|
||||
* Download https://bugreports.qt.io/secure/attachment/95685/95685_vioscsi.reg
|
||||
|
||||
However, we've seen that the Owner in the registry can be wrong. This entry
|
||||
sets it to oem11.inf, but we've seen it be oem10.inf in one case and it has
|
||||
to be corrected so that it will boot from the VirtIO driver. This was found out
|
||||
by having 2 devices installed simultaneously and having the drivers install
|
||||
properly into the registry.
|
||||
|
||||
* Eject the mounting
|
||||
* Remove downloaded virtio-win-0.1.171.iso
|
||||
Reference in New Issue
Block a user