mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-23 23:01:38 +08:00
The version variable that is used to define the packages to download was updated to reflect the new version. A new case was added for the new "Debian11" on "arm64" package which was not a provisioned package on older version but is now provided. As "Debian11" was not currenly loading "libclang.sh", a new script that performs this process was added to "coin/provisioning/qtci-linux-Debian-11.6-aarch64". The newly sourced "libclang.sh" includes "coin/provisiong/common/unix/common.sourced.sh", which sets up certain common variables such as the used architecture and the platform id. When "common.sourced.sh" sets "PROVISION_ARCH", that contains the current platform architecture, it fails if the platform architecture is not supported. For "Debian11" on "arm64", the architecture, as reported by "uname -m" is "aarch64", which is equivalent to "arm64". "aarch64" was not handled by the script, so that a platform with that architecture would result in a fail when sourcing "common.sourced.sh". To avoid the failure, the case that sets "PROVISIONING_ARCH" to "arm64" will not trigger when the reported architecture is "aarch64". The specialized RedHat case was update to work specifically for version 9, to use the new specifically built package for Rhel9.2. The default case, previously using an "ubuntu20.04" package, was modified to use a "Rhel8.8" package. A package for "Ubuntu20.04" is not currently provided anymore as the platform was removed from CI and the new "22.04" package is not compatible with all the platforms that would use it. In particular, the new packages are built on a too new glibc, which will then fail to link, due to undefined symbols in the produced Clang libraries, when used on older-glibc platforms such as "OpenSuse15" and "Rhel8.8". The "Rhel8.8" package was specifically used as the platform for the default package as it ships the older glibc, "2.28", of the supported platforms, which should ensure that it works on the older-version platforms. The "sha1" variables for cached downloads was updated to reflect the new packages. For provisioning on windows, the version variable and the sha1 variables were updated to reflect the new version and the new packages, respectively. Task-number: QTBUG-111580 Task-number: QTBUG-121548 Change-Id: Ie7c1a8d8fe9114912d53a87f70ebfa00341a9d8a Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io> (cherry picked from commit9975595a5e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit1b97371ea0)
245 lines
12 KiB
YAML
245 lines
12 KiB
YAML
Version: 2
|
|
Include: [
|
|
cmake_platforms_qemu.yaml,
|
|
cmake_platforms_qemu_qnx710.yaml,
|
|
cmake_platforms_qemu_vxworks.yaml,
|
|
cmake_platforms_target_android.yaml,
|
|
cmake_platforms_wasm.yaml,
|
|
macos.yaml
|
|
]
|
|
Configurations:
|
|
# Build on Ubuntu 22.04 and test on both X11 and Wayland later
|
|
-
|
|
Id: 'ubuntu-22.04-documentation'
|
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'Documentation', 'UseConfigure', 'DoNotRunTests']
|
|
Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
|
Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}']
|
|
-
|
|
Id: 'ubuntu-22.04'
|
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests']
|
|
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
|
]
|
|
# Test on Ubuntu 22.04 X11
|
|
-
|
|
Id: 'ubuntu-22.04-documentation-x11-tests'
|
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'TestDocs', 'TestOnly']
|
|
Platform dependency: 'ubuntu-22.04-documentation'
|
|
-
|
|
Id: 'ubuntu-22.04-x11-tests'
|
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'TestOnly']
|
|
Platform dependency: 'ubuntu-22.04'
|
|
-
|
|
Id: 'opensuse-15.5-developer-build'
|
|
Template: 'qtci-linux-openSUSE-15.5-x86_64-52'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
|
|
Configure arguments: '-nomake examples -developer-build'
|
|
Environment variables: [
|
|
'PATH={{.Env.CMAKE_MIN_SUPPORTED_BIN_PATH}}:{{.Env.PATH}}',
|
|
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
|
]
|
|
-
|
|
Id: 'sles-15_sp5-static'
|
|
Template: 'qtci-linux-SLES-15_SP5-x86_64-50'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'DisableTests', 'UseConfigure']
|
|
Configure arguments: '-nomake examples -static -no-sql-mysql'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
|
]
|
|
-
|
|
Id: 'windows-10_22h2-msvc2019'
|
|
Template: 'qtci-windows-10_22H2-x86_64-51'
|
|
Compiler: 'MSVC2019'
|
|
Features: ['Packaging', 'Sccache', "DebugAndRelease", 'UseConfigure']
|
|
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
|
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
|
]
|
|
-
|
|
Id: 'windows-11_23H2-msvc2022'
|
|
Template: 'qtci-windows-11_23H2-x86_64-52'
|
|
Compiler: 'MSVC2022'
|
|
Features: ['Sccache', "DebugAndRelease", 'UseConfigure', 'Packaging']
|
|
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF',
|
|
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
|
]
|
|
-
|
|
Id: 'windows-11_22h2-arm64-msvc2022'
|
|
Template: 'qtci-windows-11_22H2-aarch64-51'
|
|
Compiler: 'MSVC2022'
|
|
Features: ['Packaging', 'DebugAndRelease', 'UseConfigure', 'InsignificantTests']
|
|
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -c++std c++20 -no-sql-psql -no-opengl'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF -DFEATURE_qdoc=OFF',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
|
]
|
|
-
|
|
Id: 'windows-10_22h2-msvc2019-developer-build'
|
|
Template: 'qtci-windows-10_22H2-x86_64-51'
|
|
Compiler: 'MSVC2019'
|
|
Features: ['Sccache', "DebugAndRelease", 'WarningsAreErrors', 'UseConfigure']
|
|
Configure arguments: '-debug-and-release -make examples -developer-build -force-debug-info -qt-zlib'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
|
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
|
]
|
|
-
|
|
Id: 'windows-10_22h2-msvc2019-arm64'
|
|
Template: 'qtci-windows-10_22H2-x86_64-51'
|
|
Compiler: 'MSVC2019'
|
|
Target arch: 'arm64'
|
|
Features: ['Sccache', 'DisableTests', 'TargetBuildOnly', 'Packaging', 'UseConfigure']
|
|
Platform dependency: 'windows-10_22h2-msvc2019-developer-build'
|
|
Environment variables: [
|
|
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc',
|
|
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ROOT_DIR_x64_arm64}}',
|
|
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
|
|
'OPENSSL_CONF_x64={{.Env.OPENSSL_CONF_x64_arm64}}',
|
|
'OPENSSL_INCLUDE_x64={{.Env.OPENSSL_INCLUDE_x64_arm64}}',
|
|
'OPENSSL_LIB_x64={{.Env.OPENSSL_LIB_x64_arm64}}',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
|
]
|
|
-
|
|
Id: 'rhel-8.8'
|
|
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
|
Compiler: 'GCC'
|
|
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies']
|
|
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DFEATURE_native_grpc=OFF'
|
|
]
|
|
-
|
|
Id: 'rhel-9.2'
|
|
Template: 'qtci-linux-RHEL-9.2-x86_64-51'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies']
|
|
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
|
]
|
|
# Build on Debian-11.6 and split test on Wayland and offscreen later
|
|
-
|
|
Id: 'debian-11.6-arm64'
|
|
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
|
Compiler: 'GCC'
|
|
Features: ['Packaging', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
|
|
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-doubleconversion -qt-harfbuzz -no-libudev -bundled-xcb-xinput'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
|
]
|
|
# Test on Debian-11.6 offscreen
|
|
-
|
|
Id: 'debian-11.6-arm64-offscreen-tests'
|
|
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'InsignificantTests', 'TestOnly']
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
|
'QT_QPA_PLATFORM=offscreen'
|
|
]
|
|
Platform dependency: 'debian-11.6-arm64'
|
|
-
|
|
Id: 'ios-universal'
|
|
Template: 'qtci-macos-13-x86_64-103'
|
|
Target os: 'IOS_ANY'
|
|
Target arch: 'arm64'
|
|
Compiler: 'Clang'
|
|
Target compiler: 'Clang'
|
|
Platform dependency: 'macos-universal-on-x86_64'
|
|
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure', 'WarningsAreErrors']
|
|
Environment variables: [
|
|
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang',
|
|
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
|
]
|
|
-
|
|
Id: 'windows-10_22h2-mingw11'
|
|
Template: 'qtci-windows-10_22H2-x86_64-51'
|
|
Compiler: 'Mingw'
|
|
Features: ['Packaging', 'Sccache', 'UseConfigure']
|
|
Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
|
|
Environment variables: [
|
|
'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
|
|
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
|
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
|
]
|
|
-
|
|
Id: 'windows-11_23H2-llvm'
|
|
Template: 'qtci-windows-11_23H2-x86_64-52'
|
|
Compiler: 'Clang'
|
|
Features: ['Packaging','Sccache', 'UseConfigure']
|
|
Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
|
|
Environment variables: [
|
|
'Path=C:\llvm-mingw\bin;{{.Env.Path}}',
|
|
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
|
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_llvm_mingw}}',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_llvm_mingw}}',
|
|
]
|
|
-
|
|
Id: 'windows-11_23H2-mingw11-developer-build'
|
|
Template: 'qtci-windows-11_23H2-x86_64-52'
|
|
Compiler: 'Mingw'
|
|
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
|
|
Configure arguments: '-developer-build -release -force-debug-info -separate-debug-info -make examples'
|
|
Environment variables: [
|
|
'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
|
|
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DFEATURE_native_grpc=OFF',
|
|
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
|
]
|
|
-
|
|
Id: 'jammy-arm64-debian-pkg-packaging'
|
|
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
|
Compiler: 'GCC'
|
|
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
|
Environment variables: [
|
|
'DEBIAN_RULES_REF=6.7_dev',
|
|
'COIN_TARGET_DIST=tqtc-jammy',
|
|
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
|
'COIN_SBUILD_CHROOT=jammy-arm64-sbuild',
|
|
'COIN_EXTRA_DEBIAN_REPO=deb http://ports.ubuntu.com/ubuntu-ports/ jammy main universe multiverse',
|
|
'COIN_SKIP_DEBIAN_MODULES=qt5 qtqa qtactiveqt qtdoc qtwebengine qtwebview',
|
|
]
|
|
-
|
|
Id: 'jammy-amd64-debian-pkg-packaging'
|
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
|
Compiler: 'GCC'
|
|
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
|
Environment variables: [
|
|
'DEBIAN_RULES_REF=6.7_dev',
|
|
'COIN_TARGET_DIST=tqtc-jammy',
|
|
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
|
'COIN_SBUILD_CHROOT=jammy-amd64-sbuild',
|
|
'COIN_EXTRA_DEBIAN_REPO=deb http://archive.ubuntu.com/ubuntu/ jammy main universe multiverse',
|
|
'COIN_SKIP_DEBIAN_MODULES=qt5 qtqa qtactiveqt qtdoc qtwebengine qtwebview',
|
|
]
|