mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-06 20:35:59 +08:00
Allows us to first see tart on production load before starting to move the blocking arm targets to tart. Later configs will be directly replaced and original ids will be used. Change-Id: I865e6fe46b61828b6123b69973a2a4d209697c5f Reviewed-by: Toni Saario <toni.saario@qt.io>
167 lines
6.4 KiB
YAML
167 lines
6.4 KiB
YAML
Version: 2
|
|
Configurations:
|
|
|
|
# =========================================================================
|
|
# Packaging. Universal build with both x86_64 and arm64 architectures.
|
|
# =========================================================================
|
|
|
|
# Build on recent macOS version with latest Xcode
|
|
|
|
-
|
|
Id: 'macos-universal-on-x86_64'
|
|
Template: 'qtci-macos-13-x86_64-103'
|
|
Compiler: 'Clang'
|
|
Target arch: 'x86_64-arm64'
|
|
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
|
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -framework'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/.. -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DFEATURE_native_grpc=OFF',
|
|
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf'
|
|
]
|
|
|
|
-
|
|
Id: 'macos-universal-on-arm64'
|
|
Template: 'qtci-macos-13-arm64'
|
|
Compiler: 'Clang'
|
|
Target arch: 'x86_64-arm64'
|
|
Features: ['DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
|
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -framework'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"',
|
|
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}',
|
|
]
|
|
|
|
# Test on all supported macOS versions (deployment targets)
|
|
|
|
# On x86_64
|
|
|
|
-
|
|
Id: 'macos-12-x86_64-tests'
|
|
Template: 'qtci-macos-12-x86_64-106'
|
|
Compiler: 'Clang'
|
|
Features: ['Sccache', 'TestOnly', 'Packaging']
|
|
Platform dependency: 'macos-universal-on-x86_64'
|
|
-
|
|
Id: 'macos-13-x86_64-tests'
|
|
Template: 'qtci-macos-13-x86_64-103'
|
|
Compiler: 'Clang'
|
|
Features: ['Sccache', 'TestOnly', 'Packaging']
|
|
Platform dependency: 'macos-universal-on-x86_64'
|
|
-
|
|
Id: 'macos-14-x86_64-tests'
|
|
Template: 'qtci-macos-14-x86_64-105'
|
|
Compiler: 'Clang'
|
|
Features: ['Sccache', 'TestOnly', 'Packaging']
|
|
Platform dependency: 'macos-universal-on-x86_64'
|
|
|
|
# And arm64
|
|
|
|
-
|
|
Id: 'macos-12-arm64-tests'
|
|
Template: 'qtci-macos-12-arm64'
|
|
Compiler: 'Clang'
|
|
Features: ['TestOnly', 'Packaging']
|
|
Platform dependency: 'macos-universal-on-x86_64'
|
|
-
|
|
Id: 'macos-13-arm64-tests'
|
|
Template: 'qtci-macos-13-arm64'
|
|
Compiler: 'Clang'
|
|
Features: ['TestOnly', 'Packaging']
|
|
Platform dependency: 'macos-universal-on-x86_64'
|
|
-
|
|
Id: 'macos-14-arm64-tests'
|
|
Template: 'qtci-macos-14-arm64'
|
|
Compiler: 'Clang'
|
|
Features: ['TestOnly', 'Packaging']
|
|
Platform dependency: 'macos-universal-on-x86_64'
|
|
-
|
|
Id: 'macos-14-arm64-tart-tests'
|
|
Template: 'qtci-macos-14-arm-106'
|
|
Compiler: 'Clang'
|
|
Features: ['TestOnly', 'Packaging', 'InsignificantTests']
|
|
Platform dependency: 'macos-universal-on-x86_64'
|
|
|
|
# Test the universal packaging built on arm64
|
|
|
|
-
|
|
Id: 'macos-12-arm-on-arm64-tests'
|
|
Template: 'qtci-macos-12-arm64'
|
|
Compiler: 'Clang'
|
|
Features: ['TestOnly']
|
|
Platform dependency: 'macos-universal-on-arm64'
|
|
-
|
|
Id: 'macos-12-arm-on-x86_64-tests'
|
|
Template: 'qtci-macos-12-x86_64-106'
|
|
Compiler: 'Clang'
|
|
Features: ['Sccache', 'TestOnly']
|
|
Platform dependency: 'macos-universal-on-arm64'
|
|
-
|
|
Id: 'macos-13-arm-on-x86_64-tests'
|
|
Template: 'qtci-macos-13-x86_64-103'
|
|
Compiler: 'Clang'
|
|
Features: ['Sccache', 'TestOnly']
|
|
Platform dependency: 'macos-universal-on-arm64'
|
|
-
|
|
Id: 'macos-14-arm-on-x86_64-tests'
|
|
Template: 'qtci-macos-14-x86_64-105'
|
|
Compiler: 'Clang'
|
|
Features: ['Sccache', 'TestOnly']
|
|
Platform dependency: 'macos-universal-on-arm64'
|
|
|
|
# =========================================================================
|
|
# Developer build. Single architecture builds.
|
|
# =========================================================================
|
|
|
|
# Build on recent macOS version with latest Xcode
|
|
|
|
-
|
|
Id: 'macos-13-x86_64-developer-build'
|
|
Template: 'qtci-macos-13-x86_64-103'
|
|
Compiler: 'Clang'
|
|
Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
|
Configure arguments: '-developer-build -release -force-debug-info -no-pch -no-framework -qtnamespace TestNamespace -make examples'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}',
|
|
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
|
|
]
|
|
-
|
|
Id: 'macos-13-arm64-developer-build'
|
|
Template: 'qtci-macos-13-arm64'
|
|
Compiler: 'Clang'
|
|
Features: ['DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
|
Configure arguments: '-developer-build -nomake examples -release -force-debug-info -separate-debug-info -framework'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
|
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}',
|
|
]
|
|
|
|
# Test on all supported macOS versions (deployment targets)
|
|
-
|
|
Id: 'macos-12-arm64-developer-build-tests'
|
|
Template: 'qtci-macos-12-arm64'
|
|
Compiler: 'Clang'
|
|
Features: ['TestOnly']
|
|
Platform dependency: 'macos-13-arm64-developer-build'
|
|
-
|
|
Id: 'macos-13-arm64-developer-build-tests'
|
|
Template: 'qtci-macos-13-arm64'
|
|
Compiler: 'Clang'
|
|
Features: ['TestOnly']
|
|
Platform dependency: 'macos-13-arm64-developer-build'
|
|
-
|
|
Id: 'macos-14-arm64-developer-build-tests'
|
|
Template: 'qtci-macos-14-arm64'
|
|
Compiler: 'Clang'
|
|
Features: ['TestOnly']
|
|
Platform dependency: 'macos-13-arm64-developer-build'
|
|
-
|
|
Id: 'macos-14-arm64-tart-developer-build-tests'
|
|
Template: 'qtci-macos-14-arm-106'
|
|
Compiler: 'Clang'
|
|
Features: ['TestOnly', 'InsignificantTests']
|
|
Platform dependency: 'macos-13-arm64-developer-build'
|