2021-01-12 16:09:36 +00:00
|
|
|
Version: 2
|
|
|
|
Configurations:
|
2021-12-03 14:10:26 +00:00
|
|
|
|
|
|
|
# =========================================================================
|
|
|
|
# Packaging. Universal build with both x86_64 and arm64 architectures.
|
|
|
|
# =========================================================================
|
|
|
|
|
|
|
|
# Build on recent macOS version with latest Xcode
|
|
|
|
|
2021-01-12 16:09:36 +00:00
|
|
|
-
|
2021-03-24 16:05:26 +00:00
|
|
|
Id: 'macos-latest-xcode-universal-packaging-build'
|
2022-08-16 11:23:04 +00:00
|
|
|
Template: 'qtci-macos-12-x86_64-105'
|
2021-11-01 12:26:33 +00:00
|
|
|
Compiler: 'Clang'
|
|
|
|
Target arch: 'x86_64-arm64'
|
2022-02-15 14:12:58 +00:00
|
|
|
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
|
|
|
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -framework'
|
2021-11-01 12:26:33 +00:00
|
|
|
Environment variables: [
|
2022-02-15 14:12:58 +00:00
|
|
|
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/.. -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
2022-06-24 15:32:30 +00:00
|
|
|
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}}',
|
2022-10-24 15:04:07 +00:00
|
|
|
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
|
2021-11-12 09:29:11 +00:00
|
|
|
'CONAN_PROFILE=coin/conan/profiles/ci-macos-universal-clang'
|
2021-11-01 12:26:33 +00:00
|
|
|
]
|
2021-01-12 16:09:36 +00:00
|
|
|
|
2022-03-09 08:52:20 +00:00
|
|
|
-
|
|
|
|
Id: 'macos-latest-xcode-arm64-universal-build'
|
|
|
|
Template: 'qtci-macos-12-arm64'
|
|
|
|
Compiler: 'Clang'
|
|
|
|
Target arch: 'x86_64-arm64'
|
2022-06-27 11:19:28 +00:00
|
|
|
Features: ['DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
|
|
|
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -framework'
|
|
|
|
Environment variables: [
|
2022-10-24 15:04:07 +00:00
|
|
|
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"',
|
|
|
|
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
|
2022-10-27 12:08:58 +00:00
|
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
2022-06-27 11:19:28 +00:00
|
|
|
]
|
2022-03-09 08:52:20 +00:00
|
|
|
|
2021-12-03 14:10:26 +00:00
|
|
|
# Test on all supported macOS versions (deployment targets)
|
|
|
|
|
2021-01-12 16:09:36 +00:00
|
|
|
-
|
|
|
|
Id: 'macos-11-x86_64-tests'
|
2022-08-16 11:23:04 +00:00
|
|
|
Template: 'qtci-macos-11-x86_64-105'
|
2021-01-12 16:09:36 +00:00
|
|
|
Compiler: 'Clang'
|
2021-05-31 11:58:09 +00:00
|
|
|
Features: ['Sccache', 'TestOnly', 'Packaging']
|
2021-03-24 16:05:26 +00:00
|
|
|
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
2021-05-20 08:50:51 +00:00
|
|
|
-
|
|
|
|
Id: 'macos-11-arm64-tests'
|
|
|
|
Template: 'qtci-macos-11.0-arm64'
|
|
|
|
Compiler: 'Clang'
|
2021-05-31 11:58:09 +00:00
|
|
|
Features: ['Sccache', 'TestOnly', 'Packaging']
|
2021-05-20 08:50:51 +00:00
|
|
|
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
2021-11-10 06:29:45 +00:00
|
|
|
-
|
|
|
|
Id: 'macos-12-arm64-tests'
|
|
|
|
Template: 'qtci-macos-12-arm64'
|
|
|
|
Compiler: 'Clang'
|
2021-12-03 13:42:54 +00:00
|
|
|
Features: ['Sccache', 'TestOnly', 'Packaging']
|
2021-11-16 22:21:16 +00:00
|
|
|
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
2022-11-09 16:17:14 +00:00
|
|
|
-
|
|
|
|
Id: 'macos-13-arm64-tests'
|
|
|
|
Template: 'qtci-macos-13-arm64'
|
|
|
|
Compiler: 'Clang'
|
2022-11-11 14:34:05 +00:00
|
|
|
Features: ['Sccache', 'TestOnly', 'Packaging']
|
2022-11-09 16:17:14 +00:00
|
|
|
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
2021-11-01 12:26:33 +00:00
|
|
|
-
|
|
|
|
Id: 'macos-12-x86_64-tests'
|
2022-08-16 11:23:04 +00:00
|
|
|
Template: 'qtci-macos-12-x86_64-105'
|
2021-11-01 12:26:33 +00:00
|
|
|
Compiler: 'Clang'
|
|
|
|
Features: ['Sccache', 'TestOnly', 'Packaging']
|
2021-11-10 06:29:45 +00:00
|
|
|
Platform dependency: 'macos-latest-xcode-universal-packaging-build'
|
2022-03-09 08:52:20 +00:00
|
|
|
-
|
|
|
|
Id: 'macos-12-arm64-arm64-universal-build-tests'
|
|
|
|
Template: 'qtci-macos-12-arm64'
|
|
|
|
Compiler: 'Clang'
|
|
|
|
Features: ['Sccache', 'TestOnly']
|
|
|
|
Platform dependency: 'macos-latest-xcode-arm64-universal-build'
|
|
|
|
-
|
|
|
|
Id: 'macos-12-x86_64-arm64-universal-build-tests'
|
2022-08-16 11:23:04 +00:00
|
|
|
Template: 'qtci-macos-12-x86_64-105'
|
2022-03-09 08:52:20 +00:00
|
|
|
Compiler: 'Clang'
|
|
|
|
Features: ['Sccache', 'TestOnly']
|
|
|
|
Platform dependency: 'macos-latest-xcode-arm64-universal-build'
|
2021-01-12 16:09:36 +00:00
|
|
|
|
2021-12-03 14:10:26 +00:00
|
|
|
# =========================================================================
|
|
|
|
# Developer build. Single architecture builds.
|
|
|
|
# =========================================================================
|
|
|
|
|
|
|
|
# Build on recent macOS version with latest Xcode
|
|
|
|
|
2021-01-12 16:09:36 +00:00
|
|
|
-
|
|
|
|
Id: 'macos-latest-xcode-x86_64-developer-build'
|
2022-08-16 11:23:04 +00:00
|
|
|
Template: 'qtci-macos-12-x86_64-105'
|
2021-11-01 12:26:33 +00:00
|
|
|
Compiler: 'Clang'
|
2022-02-15 14:12:58 +00:00
|
|
|
Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
|
|
|
Configure arguments: '-developer-build -release -force-debug-info -no-pch -no-framework -qtnamespace TestNamespace -make examples'
|
|
|
|
Environment variables: [
|
2022-06-24 15:32:30 +00:00
|
|
|
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
2022-10-24 15:04:07 +00:00
|
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}',
|
|
|
|
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
|
2022-02-15 14:12:58 +00:00
|
|
|
]
|
2021-04-20 08:51:24 +00:00
|
|
|
-
|
|
|
|
Id: 'macos-latest-xcode-arm64-developer-build'
|
2021-11-10 06:29:45 +00:00
|
|
|
Template: 'qtci-macos-12-arm64'
|
|
|
|
Compiler: 'Clang'
|
2022-02-15 14:12:58 +00:00
|
|
|
Features: ['DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
|
|
|
Configure arguments: '-developer-build -nomake examples -release -force-debug-info -separate-debug-info -framework'
|
2022-10-24 15:04:07 +00:00
|
|
|
Environment variables: [
|
2022-10-27 12:08:58 +00:00
|
|
|
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
|
|
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
2022-10-24 15:04:07 +00:00
|
|
|
]
|
2021-12-03 14:10:26 +00:00
|
|
|
# Note: We do not include OpenSSL or PostgreSQL in this build,
|
|
|
|
# as the M1 CI machines are not provisioned for that yet.
|
|
|
|
|
|
|
|
# Test on all supported macOS versions (deployment targets)
|
|
|
|
|
2021-12-03 14:17:18 +00:00
|
|
|
-
|
|
|
|
Id: 'macos-11-x86_64-developer-build-tests'
|
2022-08-16 11:23:04 +00:00
|
|
|
Template: 'qtci-macos-11-x86_64-105'
|
2021-12-03 14:17:18 +00:00
|
|
|
Compiler: 'Clang'
|
|
|
|
Features: ['Sccache', 'TestOnly']
|
|
|
|
Platform dependency: 'macos-latest-xcode-x86_64-developer-build'
|
2021-05-25 15:55:26 +00:00
|
|
|
-
|
|
|
|
Id: 'macos-11-arm64-developer-build-tests'
|
|
|
|
Template: 'qtci-macos-11.0-arm64'
|
|
|
|
Compiler: 'Clang'
|
|
|
|
Features: ['TestOnly']
|
|
|
|
Platform dependency: 'macos-latest-xcode-arm64-developer-build'
|
2021-12-03 14:17:18 +00:00
|
|
|
-
|
|
|
|
Id: 'macos-12-x86_64-developer-build-tests'
|
2022-08-16 11:23:04 +00:00
|
|
|
Template: 'qtci-macos-12-x86_64-105'
|
2021-12-03 14:17:18 +00:00
|
|
|
Compiler: 'Clang'
|
|
|
|
Features: ['Sccache', 'TestOnly']
|
|
|
|
Platform dependency: 'macos-latest-xcode-x86_64-developer-build'
|
2021-11-10 06:29:45 +00:00
|
|
|
-
|
|
|
|
Id: 'macos-12-arm64-developer-build-tests'
|
|
|
|
Template: 'qtci-macos-12-arm64'
|
|
|
|
Compiler: 'Clang'
|
2022-01-03 08:14:08 +00:00
|
|
|
Features: ['TestOnly']
|
2021-12-03 14:10:26 +00:00
|
|
|
Platform dependency: 'macos-latest-xcode-arm64-developer-build'
|
2022-11-09 16:17:14 +00:00
|
|
|
-
|
|
|
|
Id: 'macos-13-arm64-developer-build-tests'
|
|
|
|
Template: 'qtci-macos-13-arm64'
|
|
|
|
Compiler: 'Clang'
|
2022-11-11 14:34:05 +00:00
|
|
|
Features: ['TestOnly']
|
2022-11-09 16:17:14 +00:00
|
|
|
Platform dependency: 'macos-latest-xcode-arm64-developer-build'
|