.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 2016-10-27 12:03:04 -04:00 committed by Atomic Bot
parent 835d97d659
commit cde7928496

View File

@ -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: