aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-11-02 17:09:31 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-11-05 10:49:57 +0000
commit23ade45981080770c60c11f0013d2211d51b2bdd (patch)
tree7a0b357ebd0ea039dc6428ccd92a32a0a819b273
parenta80c83533329d7a0c8e4b44ed40b98bfc06e9743 (diff)
coin: Enable warnings are errors for macOS builds
Change-Id: I418c207a95a1cd1f827873a7f19178421fdfd10f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 296b7faaad6ff5621493a93c16618a244fe5ef07) Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-rw-r--r--coin/platform_configs/macos.yaml6
1 files 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'