From dc2521546255200188c8dc53b77e5bb30ca4c0a7 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Mon, 17 Feb 2025 12:15:37 +0100 Subject: [PATCH] coin: Add a nightly job that configures qt5 in-tree examples and tests To catch potential top-level build issues like non-unique example names, missing AUTOGEN / moc does not exist workarounds and other issues. The nightly platform uses the newly introduced 'NoSubmoduleDependencies' Coin feature, which will ensure that we only configure the qt5.git top-level build, not any of the submodules. Change-Id: Idb79d768749311b4184e211cd54d38219bcba7c6 Reviewed-by: Toni Saario --- .../nightly_examples_and_tests.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 coin/platform_configs/nightly_examples_and_tests.yaml diff --git a/coin/platform_configs/nightly_examples_and_tests.yaml b/coin/platform_configs/nightly_examples_and_tests.yaml new file mode 100644 index 00000000..39bdb258 --- /dev/null +++ b/coin/platform_configs/nightly_examples_and_tests.yaml @@ -0,0 +1,14 @@ +Version: 2 +Configurations: +- + Id: 'ubuntu-24.04-x64-examples-and-tests-build' + Template: 'qtci-linux-Ubuntu-24.04-x86_64-51' + Compiler: 'GCC' + Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'NoSubmoduleDependencies'] + Configure arguments: '-make examples -make tests' + Environment variables: [ + 'COMMON_CMAKE_ARGS=-DQT_BUILD_EXAMPLES_AS_EXTERNAL=OFF -DQT_GENERATE_SBOM=OFF', + 'COMMON_NON_QTBASE_CMAKE_ARGS=-DQT_BUILD_EXAMPLES_AS_EXTERNAL=OFF -DQT_GENERATE_SBOM=OFF', + 'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON', + 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE' + ]