aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-08-19 16:33:03 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-08-26 20:17:07 +0200
commit4fea3be3af5e436d96ecaaa80c49ecd96ead316f (patch)
tree2a266987ccc7359f9073b962c1a7115a0fcef382
parent8dcbfc526ec0b47f302f2265337d2a9ee91f2b5c (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. Pick-to: 6.2 Task-number: QTBUG-95839 Change-Id: Ie1aa6deb202c9b84ce0c14b0f851f38a3a71fe7b Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-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 088fbee5..78afc5c8 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:
-