summaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2022-06-21 15:32:00 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2022-08-02 21:18:50 +0200
commit5fc8a377ce56d67f3b54df62bda8a45ba4416f9a (patch)
treea81fb69c275dfa9f997d437f54728645538daa98 /coin
parentaa694575331ea0bda30cb4cc76174ced4d20df89 (diff)
Build minimal subset of tests for Android multi-ABI Qt builds
Add an option to limit the number of tests for building and testing Android multi-ABI configurations in CI. Currently only Core tests supposed to run. Change-Id: Ibb8a41d60d108259ef2675ec54bde2482f87c8b2 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'coin')
-rw-r--r--coin/instructions/cmake_build_and_upload_test_artifacts.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/coin/instructions/cmake_build_and_upload_test_artifacts.yaml b/coin/instructions/cmake_build_and_upload_test_artifacts.yaml
index c1db6cc488..7fa663e4d2 100644
--- a/coin/instructions/cmake_build_and_upload_test_artifacts.yaml
+++ b/coin/instructions/cmake_build_and_upload_test_artifacts.yaml
@@ -48,6 +48,15 @@ instructions:
property: features
contains_value: "MinimalStaticTests"
+ # Inform CMake to build just a minimal set of tests for Android multi-ABI Qt builds.
+ - type: AppendToEnvironmentVariable
+ variableName: COIN_CMAKE_ARGS
+ variableValue: " -DQT_BUILD_MINIMAL_ANDROID_MULTI_ABI_TESTS=ON"
+ enable_if:
+ condition: property
+ property: features
+ contains_value: "MinimalAndroidMultiABITests"
+
- !include "{{qt/qtbase}}/call_cmake_for_standalone_tests.yaml"
- type: ExecuteCommand
command: "{{.Env.TESTS_ENV_PREFIX}} cmake --build . --parallel -v"