[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror
From: |
Thomas Huth |
Subject: |
[PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror |
Date: |
Fri, 24 Jul 2020 16:32:19 +0200 |
Compiler warnings currently go unnoticed in our FreeBSD and macOS builds,
since -Werror is only enabled for Linux and MinGW builds by default. So
let's enable them here now, too.
For macOS, that unfortunately means that we have to disable the vnc-sasl
feature, since this is marked as deprecated in the macOS headers and thus
generates a lot of deprecation warnings.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
.cirrus.yml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/.cirrus.yml b/.cirrus.yml
index f287d23c5b..bb25c1723b 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -12,7 +12,7 @@ freebsd_12_task:
script:
- mkdir build
- cd build
- - ../configure || { cat config.log; exit 1; }
+ - ../configure --enable-werror || { cat config.log; exit 1; }
- gmake -j8
- gmake V=1 check
@@ -24,7 +24,8 @@ macos_task:
script:
- mkdir build
- cd build
- - ../configure --python=/usr/local/bin/python3 || { cat config.log; exit
1; }
+ - ../configure --python=/usr/local/bin/python3 --disable-vnc-sasl
+ --enable-werror || { cat config.log; exit 1; }
- gmake -j$(sysctl -n hw.ncpu)
- gmake check
@@ -37,6 +38,7 @@ macos_xcode_task:
script:
- mkdir build
- cd build
- - ../configure --cc=clang || { cat config.log; exit 1; }
+ - ../configure --cc=clang --disable-vnc-sasl --enable-werror
+ || { cat config.log; exit 1; }
- gmake -j$(sysctl -n hw.ncpu)
- gmake check
--
2.18.1
- [PATCH 0/3] Improve FreeBSD and macOS jobs in the Cirrus-CI, Thomas Huth, 2020/07/24
- [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror,
Thomas Huth <=
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Daniel P . Berrangé, 2020/07/24
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Philippe Mathieu-Daudé, 2020/07/24
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Daniel P . Berrangé, 2020/07/24
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Thomas Huth, 2020/07/27
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Peter Maydell, 2020/07/27
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Thomas Huth, 2020/07/27
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Peter Maydell, 2020/07/24
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Christian Schoenebeck, 2020/07/24
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Daniel P . Berrangé, 2020/07/27
- Re: [PATCH 2/3] cirrus.yml: Compile macOS and FreeBSD with -Werror, Thomas Huth, 2020/07/28