From 64b8508dd4c2b4fec11260cd891714cacd8b1817 Mon Sep 17 00:00:00 2001 From: Tero Heikkinen Date: Thu, 17 Oct 2024 17:41:47 +0300 Subject: [PATCH] Provisioning: Add unity build targets into CI Nightly runs Adding these Windows, Linux and MacOS targets: - windows-11_23H2-msvc2022-unity-build - rhel-8.10-unity-build - ubuntu-24.04-arm64-unity-build - ubuntu-24.04-x64-unity-build - macos-universal-on-arm64-unity-build Only builds with make examples, no tests. Task-number: QTQAINFRA-6391 Change-Id: I4e009e35ef5d30495efd949b8c997ab3ced50dae Reviewed-by: Tim Blechmann --- .../nightly_unity_builds.yaml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 coin/platform_configs/nightly_unity_builds.yaml diff --git a/coin/platform_configs/nightly_unity_builds.yaml b/coin/platform_configs/nightly_unity_builds.yaml new file mode 100644 index 00000000..73bb0b13 --- /dev/null +++ b/coin/platform_configs/nightly_unity_builds.yaml @@ -0,0 +1,58 @@ +Version: 2 +Configurations: +- + Id: 'windows-11_23H2-msvc2022-unity-build' + Template: 'qtci-windows-11_23H2-x86_64-53' + Compiler: 'MSVC2022' + Features: ['Sccache', 'Debug', 'UseConfigure', 'DoNotRunTests'] + Configure arguments: '-debug -force-debug-info -headersclean -make 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}}\.. -DQT_UNITY_BUILD=ON', + 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON', + 'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}', + 'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}', + ] +- + Id: 'rhel-8.10-unity-build' + Template: 'qtci-linux-RHEL-8.10-x86_64-50' + Compiler: 'GCC' + Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests'] + Configure arguments: '-make examples -debug -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}} -DQT_UNITY_BUILD=ON', + 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON' + ] +- + Id: 'ubuntu-24.04-arm64-unity-build' + Template: 'qtci-linux-Ubuntu-24.04-aarch64-50' + Compiler: 'GCC' + Features: ['Sccache', 'UseConfigure', 'DoNotRunTests'] + Configure arguments: '-make examples -debug -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -qpa offscreen\;xcb' + Environment variables: [ + 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DQT_UNITY_BUILD=ON', + 'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON', + 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON' + ] +- + Id: 'ubuntu-24.04-x64-unity-build' + Template: 'qtci-linux-Ubuntu-24.04-x86_64-50' + Compiler: 'GCC' + Features: ['Sccache', 'UseConfigure', 'DoNotRunTests'] + Configure arguments: '-make examples -debug -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 -DQT_UNITY_BUILD=ON', + 'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON', + 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON' + ] +- + Id: 'macos-universal-on-arm64-unity-build' + Template: 'qtci-macos-14-arm-106' + Compiler: 'Clang' + Target arch: 'x86_64-arm64' + Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure'] + Configure arguments: '-make examples -debug -force-debug-info -separate-debug-info -headersclean -framework' + Environment variables: [ + 'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"', + 'Protobuf_ROOT=/usr/local/lib/cmake/protobuf', + 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON -DQT_UNITY_BUILD=ON', + ]