summaryrefslogtreecommitdiff
path: root/ci/build.sh
diff options
context:
space:
mode:
authorJonathan Lebon <jlebon@redhat.com>2017-06-28 08:59:36 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2017-06-28 16:37:15 +0000
commit9d10bdfd0d90d6ea6a31bbd89243f3b23ff51e8d (patch)
treee57c7bfa8f8d26c4a5549e0937e06b6a70b93dd9 /ci/build.sh
parent373dc4b66c7966bd917039addf134a1dc556db3f (diff)
downloadostree-9d10bdfd0d90d6ea6a31bbd89243f3b23ff51e8d.tar.gz
ci: unconditionally turn on -Werror
Closes: #971 Approved by: cgwalters
Diffstat (limited to 'ci/build.sh')
-rwxr-xr-xci/build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/build.sh b/ci/build.sh
index eefb7c3c..a9a8ac3f 100755
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -12,6 +12,9 @@ pkg_install sudo which attr fuse \
elfutils
pkg_install_if_os fedora gjs gnome-desktop-testing parallel coccinelle clang
+# always fail on warnings; https://github.com/ostreedev/ostree/pull/971
+export CFLAGS="-Werror ${CFLAGS:-}"
+
DETECTED_CONFIGOPTS=
if test -x /usr/bin/gnome-desktop-testing-runner; then
DETECTED_CONFIGOPTS="${DETECTED_CONFIGOPTS} --enable-installed-tests=exclusive"