Skip to content

Commit

Permalink
Add Cirrus CI -Wformat=2 checks to Rocky Linux.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jkbonfield committed Aug 15, 2024
1 parent 629359e commit 72afb7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ rocky_task:
LC_ALL: C
CIRRUS_CLONE_DEPTH: 1
USE_CONFIG: yes
CFLAGS: -std=gnu90
CFLAGS: -std=gnu90 -Wformat -Wformat=2

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

0 comments on commit 72afb7d

Please sign in to comment.