From 23ade45981080770c60c11f0013d2211d51b2bdd 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I418c207a95a1cd1f827873a7f19178421fdfd10f Reviewed-by: Alexandru Croitor (cherry picked from commit 296b7faaad6ff5621493a93c16618a244fe5ef07) Reviewed-by: Tor Arne Vestbø --- coin/platform_configs/macos.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coin/platform_configs/macos.yaml b/coin/platform_configs/macos.yaml index 06bcadfc..0612bb33 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}}/..' Environment variables: [ 'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_gds=OFF', @@ -46,7 +46,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' Environment variables: [ 'NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache', @@ -59,7 +59,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 -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/..' - Id: 'macos-11-arm64-developer-build-tests' -- cgit v1.2.3