.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
This commit is contained in:
Jonathan Lebon authored and Atomic Bot committed 2016-10-27 18:12:05 +00:00
1 parent 835d97d659
commit cde7928496
1 file changed
+19
+19
View File
@@ -23,3 +23,22 @@ timeout: 30m
artifacts: artifacts:
- test-suite.log - 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: