Skip to content

Commit 43b4a66

Browse files
committed
Add Cirrus CI -Wformat=2 checks to Rocky Linux.
We lost level 2 when we swapped the sanitizers between ubuntu gcc and clang, as Clang's -Wformat=2 is too spammy and we couldn't keep it on gcc as it breaks the sanitizers. So this puts it onto a third build instead.
1 parent 1c28a03 commit 43b4a66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.cirrus.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ rocky_task:
141141
LC_ALL: C
142142
CIRRUS_CLONE_DEPTH: 1
143143
USE_CONFIG: yes
144-
CFLAGS: -std=gnu90
144+
CFLAGS: -std=gnu90 -Wformat -Wformat=2
145145

146146
# NB: we could consider building a docker image with these
147147
# preinstalled and specifying that instead, to speed up testing.

0 commit comments

Comments
 (0)