From: Jonathan Lebon Date: Thu, 27 Oct 2016 16:03:04 +0000 (-0400) Subject: .redhat-ci.yml: add clang X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~44^2~33 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cde792849695acacf6b69712e2a4f7a721807fec;p=ostree.git .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 --- 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: