From 72afb7d7b6573e430c995e953ddbc49ec670a72c Mon Sep 17 00:00:00 2001 From: James Bonfield Date: Thu, 15 Aug 2024 14:40:16 +0100 Subject: [PATCH] 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. --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index c144e75b7..9d80ea07d 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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.