aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-08-19 16:33:03 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-08-27 08:09:25 +0000
commit26e43959e19da179ba59b15b2df6024a12d60af9 (patch)
tree68e5749ec2fa93794603196e2c5c3cf3a2ed7cd5
parent8ab13223a5535f9ad3cb0beb08a87dfe6664c82b (diff)
iOS: Build a subset of tests when targeting iOS
Currently will only build tests/auto/cmake projects in qtbase. More work is needed for the other repos. Task-number: QTBUG-95839 Change-Id: Ie1aa6deb202c9b84ce0c14b0f851f38a3a71fe7b Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 4fea3be3af5e436d96ecaaa80c49ecd96ead316f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--coin/platform_configs/ios-tests.yaml12
-rw-r--r--coin/platform_configs/qtbase.yaml3
2 files changed, 14 insertions, 1 deletions
diff --git a/coin/platform_configs/ios-tests.yaml b/coin/platform_configs/ios-tests.yaml
new file mode 100644
index 00000000..7f009ac1
--- /dev/null
+++ b/coin/platform_configs/ios-tests.yaml
@@ -0,0 +1,12 @@
+Version: 2
+Configurations:
+-
+ Id: "ios-tests-target"
+ Template: 'qtci-macos-10.14-x86_64'
+ Target os: 'IOS_ANY'
+ Target arch: 'arm64'
+ Compiler: 'Clang'
+ Target compiler: 'Clang'
+ Platform dependency: 'macos-latest-xcode-universal-packaging-build'
+ Features: ['Sccache', 'DebugAndRelease', 'MinimalStaticTests']
+ Environment variables: ['TARGET_CONFIGURE_ARGS=-G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="Release;Debug" -DQT_BUILD_EXAMPLES=OFF -DCMAKE_SYSTEM_NAME=iOS', 'NON_QTBASE_TARGET_CONFIGURE_ARGS=']
diff --git a/coin/platform_configs/qtbase.yaml b/coin/platform_configs/qtbase.yaml
index a9d76602..c6425a0b 100644
--- a/coin/platform_configs/qtbase.yaml
+++ b/coin/platform_configs/qtbase.yaml
@@ -3,7 +3,8 @@ Include: [
cmake_platforms.yaml,
cmake_platforms_static_tests.yaml,
macos-developer-build-tests.yaml,
- integrity.yaml
+ integrity.yaml,
+ ios-tests.yaml
]
Configurations:
-