summaryrefslogtreecommitdiffstats
path: root/coin/instructions/coin_qtbase_build_template_v2.yaml
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-08-19 16:19:21 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-08-26 16:40:15 +0200
commit80705298ca11587782beed49c4ae55f533cfc0c2 (patch)
tree73fa32a0d8dccb35ab7121b0fb264fde96eb419f /coin/instructions/coin_qtbase_build_template_v2.yaml
parent1f3949a5a8182aee4047fcf73413f67c613cbb86 (diff)
CMake: Build a subset of tests when targeting iOS in the CI
Add infrastructure to build cmake auto tests in the CI when targeting iOS. Currently the are only CI instructions for qtbase. More work is needed to make it work for other repos. With this change, we will build a single Widgets application targeting the iOS simulator. We can't target the device SDK in the CI because signing fails due to a missing signing certificate and provisioning profile. The Coin instructions will now set a QT_BUILD_ENVIRONMENT=ci env var whose value will be checked in _qt_internal_test_expect_pass, to ensure we build for the simulator SDK when using a universal Qt. Without this, xcodebuild will try to build with the device SDK and fail to build the project. Pick-to: 6.2 Task-number: QTBUG-95839 Change-Id: Ib39c9527b107b2004746ccbdc9d9d1d658f88c76 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'coin/instructions/coin_qtbase_build_template_v2.yaml')
-rw-r--r--coin/instructions/coin_qtbase_build_template_v2.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/coin/instructions/coin_qtbase_build_template_v2.yaml b/coin/instructions/coin_qtbase_build_template_v2.yaml
index 503916b417..d6c8bea247 100644
--- a/coin/instructions/coin_qtbase_build_template_v2.yaml
+++ b/coin/instructions/coin_qtbase_build_template_v2.yaml
@@ -26,7 +26,7 @@ instructions:
enable_if:
condition: property
property: target.osVersion
- in_values: [Android_ANY, QEMU]
+ in_values: [Android_ANY, QEMU, IOS_ANY]
enable_if:
condition: or
conditions: