From 296b7faaad6ff5621493a93c16618a244fe5ef07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Tue, 2 Nov 2021 17:09:31 +0100 Subject: coin: Enable warnings are errors for macOS builds Pick-to: 6.2 Change-Id: I418c207a95a1cd1f827873a7f19178421fdfd10f Reviewed-by: Alexandru Croitor --- coin/platform_configs/macos.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'coin/platform_configs/macos.yaml') diff --git a/coin/platform_configs/macos.yaml b/coin/platform_configs/macos.yaml index 7a32d988..e685e2ad 100644 --- a/coin/platform_configs/macos.yaml +++ b/coin/platform_configs/macos.yaml @@ -7,7 +7,7 @@ Configurations: Template: 'qtci-macos-11.0-x86_64-102' Compiler: 'Clang' Target arch: 'x86_64-arm64' - Features: ['Packaging', 'Sccache', 'DoNotRunTests'] + Features: ['Packaging', 'Sccache', '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 -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/.. -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}' Environment variables: [ 'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_gds=OFF', @@ -47,7 +47,7 @@ Configurations: Id: 'macos-latest-xcode-x86_64-developer-build' Template: 'qtci-macos-11.0-x86_64-102' Compiler: 'Clang' - Features: ['Sccache', 'DoNotRunTests'] + Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors'] Configure arguments: '-DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_WITH_PCH=OFF -DFEATURE_framework=OFF -DQT_NAMESPACE=TestNamespace -DQT_BUILD_EXAMPLES=ON -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}' Environment variables: [ 'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache', @@ -61,7 +61,7 @@ Configurations: Id: 'macos-latest-xcode-arm64-developer-build' Template: 'qtci-macos-11.0-arm64' Compiler: 'Clang' - Features: ['DoNotRunTests'] + Features: ['DoNotRunTests', 'WarningsAreErrors'] Configure arguments: '-DFEATURE_developer_build=ON -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DFEATURE_framework=ON' - Id: 'macos-11-arm64-developer-build-tests' -- cgit v1.2.3