From cde792849695acacf6b69712e2a4f7a721807fec Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Thu, 27 Oct 2016 12:03:04 -0400 Subject: [PATCH] .redhat-ci.yml: add clang Clang has better detection for unused vars when using auto cleanup functions. We should eventually just fold this back into the first testsuite. But let's just turn it on for now, at least until it's satisfied with the whole codebase. Closes: #549 Approved by: cgwalters --- .redhat-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.redhat-ci.yml b/.redhat-ci.yml index 1956cb30..da69f97a 100644 --- a/.redhat-ci.yml +++ b/.redhat-ci.yml @@ -23,3 +23,22 @@ timeout: 30m artifacts: - test-suite.log + +--- + +inherit: true + +packages: + - clang + +tests: + - sh autogen.sh + --prefix=/usr + --libdir=/usr/lib64 + --enable-installed-tests + --enable-gtk-doc + - make -j2 CC=clang CFLAGS='-Werror=unused-variable' + +context: Clang + +artifacts: