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>
This commit is contained in:
Alexandru Croitor
2021-08-19 16:33:03 +02:00
parent 8dcbfc526e
commit 4fea3be3af
2 changed files with 14 additions and 1 deletions

View File

@@ -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=']

View File

@@ -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:
-