mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-08 08:58:46 +03:00
.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:
parent
835d97d659
commit
cde7928496
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user