diff options
Diffstat (limited to 'coin/platform_configs/macos.yaml')
-rw-r--r-- | coin/platform_configs/macos.yaml | 151 |
1 files changed, 81 insertions, 70 deletions
diff --git a/coin/platform_configs/macos.yaml b/coin/platform_configs/macos.yaml index 3cc87e75..dc33e00e 100644 --- a/coin/platform_configs/macos.yaml +++ b/coin/platform_configs/macos.yaml @@ -8,76 +8,101 @@ Configurations: # Build on recent macOS version with latest Xcode - - Id: 'macos-latest-xcode-universal-packaging-build' - Template: 'qtci-macos-12-x86_64-102' + 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', - 'CONAN_PROFILE=coin/conan/profiles/ci-macos-universal-clang' + 'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DINPUT_headersclean=ON', + 'Protobuf_ROOT=/usr/local/lib/cmake/protobuf' ] - - Id: 'macos-latest-xcode-arm64-universal-build' - Template: 'qtci-macos-12-arm64' + Id: 'macos-universal-on-arm64' + Template: 'qtci-macos-13-arm64' Compiler: 'Clang' Target arch: 'x86_64-arm64' - Features: ['DoNotRunTests', 'WarningsAreErrors'] - Configure arguments: '-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DFEATURE_headersclean=ON -DFEATURE_framework=ON' + 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}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON', + ] # Test on all supported macOS versions (deployment targets) + # On x86_64 + - - Id: 'macos-10.14-x86_64-tests' - Template: 'qtci-macos-10.14-x86_64' - Compiler: 'Clang' - Features: ['Sccache', 'TestOnly', 'Packaging'] - Platform dependency: 'macos-latest-xcode-universal-packaging-build' - - - Id: 'macos-10.15-x86_64-tests' - Template: 'qtci-macos-10.15-x86_64-102' + Id: 'macos-12-x86_64-tests' + Template: 'qtci-macos-12-x86_64-106' Compiler: 'Clang' Features: ['Sccache', 'TestOnly', 'Packaging'] - Platform dependency: 'macos-latest-xcode-universal-packaging-build' + Platform dependency: 'macos-universal-on-x86_64' - - Id: 'macos-11-x86_64-tests' - Template: 'qtci-macos-11-x86_64-104' + Id: 'macos-13-x86_64-tests' + Template: 'qtci-macos-13-x86_64-103' Compiler: 'Clang' Features: ['Sccache', 'TestOnly', 'Packaging'] - Platform dependency: 'macos-latest-xcode-universal-packaging-build' + Platform dependency: 'macos-universal-on-x86_64' - - Id: 'macos-11-arm64-tests' - Template: 'qtci-macos-11.0-arm64' + Id: 'macos-14-x86_64-tests' + Template: 'qtci-macos-14-x86_64-105' Compiler: 'Clang' Features: ['Sccache', 'TestOnly', 'Packaging'] - Platform dependency: 'macos-latest-xcode-universal-packaging-build' + Platform dependency: 'macos-universal-on-x86_64' + + # And arm64 + - Id: 'macos-12-arm64-tests' Template: 'qtci-macos-12-arm64' Compiler: 'Clang' - Features: ['Sccache', 'TestOnly', 'Packaging'] - Platform dependency: 'macos-latest-xcode-universal-packaging-build' + Features: ['TestOnly', 'Packaging'] + Platform dependency: 'macos-universal-on-x86_64' - - Id: 'macos-12-x86_64-tests' - Template: 'qtci-macos-12-x86_64-102' + Id: 'macos-13-arm64-tests' + Template: 'qtci-macos-13-arm64' Compiler: 'Clang' - Features: ['Sccache', 'TestOnly', 'Packaging'] - Platform dependency: 'macos-latest-xcode-universal-packaging-build' + Features: ['TestOnly', 'Packaging'] + Platform dependency: 'macos-universal-on-x86_64' - - Id: 'macos-12-arm64-arm64-universal-build-tests' + Id: 'macos-14-arm64-tests' + Template: 'qtci-macos-14-arm-106' + Compiler: 'Clang' + Features: ['TestOnly', 'Packaging'] + 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-latest-xcode-arm64-universal-build' + Platform dependency: 'macos-universal-on-arm64' - - Id: 'macos-12-x86_64-arm64-universal-build-tests' - Template: 'qtci-macos-12-x86_64-102' + Id: 'macos-13-arm-on-x86_64-tests' + Template: 'qtci-macos-13-x86_64-103' Compiler: 'Clang' Features: ['Sccache', 'TestOnly'] - Platform dependency: 'macos-latest-xcode-arm64-universal-build' + 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. @@ -86,58 +111,44 @@ Configurations: # Build on recent macOS version with latest Xcode - - Id: 'macos-latest-xcode-x86_64-developer-build' - Template: 'qtci-macos-12-x86_64-102' + 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}}' + 'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}', + 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE', + 'Protobuf_ROOT=/usr/local/lib/cmake/protobuf', ] - - Id: 'macos-latest-xcode-arm64-developer-build' - Template: 'qtci-macos-12-arm64' + 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' - # Note: We do not include OpenSSL or PostgreSQL in this build, - # as the M1 CI machines are not provisioned for that yet. + 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}} -DQT_DEPLOY_FFMPEG=TRUE', + ] # Test on all supported macOS versions (deployment targets) - - - - Id: 'macos-10.14-x86_64-developer-build-tests' - Template: 'qtci-macos-10.14-x86_64' - Compiler: 'Clang' - Features: ['Sccache', 'TestOnly'] - Platform dependency: 'macos-latest-xcode-x86_64-developer-build' - - - Id: 'macos-10.15-x86_64-developer-build-tests' - Template: 'qtci-macos-10.15-x86_64-102' - Compiler: 'Clang' - Features: ['Sccache', 'TestOnly'] - Platform dependency: 'macos-latest-xcode-x86_64-developer-build' - - - Id: 'macos-11-x86_64-developer-build-tests' - Template: 'qtci-macos-11-x86_64-104' - Compiler: 'Clang' - Features: ['Sccache', 'TestOnly'] - Platform dependency: 'macos-latest-xcode-x86_64-developer-build' - - Id: 'macos-11-arm64-developer-build-tests' - Template: 'qtci-macos-11.0-arm64' + Id: 'macos-12-arm64-developer-build-tests' + Template: 'qtci-macos-12-arm64' Compiler: 'Clang' Features: ['TestOnly'] - Platform dependency: 'macos-latest-xcode-arm64-developer-build' + Platform dependency: 'macos-13-arm64-developer-build' - - Id: 'macos-12-x86_64-developer-build-tests' - Template: 'qtci-macos-12-x86_64-102' + Id: 'macos-13-arm64-developer-build-tests' + Template: 'qtci-macos-13-arm64' Compiler: 'Clang' - Features: ['Sccache', 'TestOnly'] - Platform dependency: 'macos-latest-xcode-x86_64-developer-build' + Features: ['TestOnly'] + Platform dependency: 'macos-13-arm64-developer-build' - - Id: 'macos-12-arm64-developer-build-tests' - Template: 'qtci-macos-12-arm64' + Id: 'macos-14-arm64-developer-build-tests' + Template: 'qtci-macos-14-arm-106' Compiler: 'Clang' Features: ['TestOnly'] - Platform dependency: 'macos-latest-xcode-arm64-developer-build' + Platform dependency: 'macos-13-arm64-developer-build' |