aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-01-07 16:35:02 +0000
committerOmar Polo <op@omarpolo.com>2024-01-07 16:35:02 +0000
commit59953b20b2b0f6482f6ab8f00d0f31445989c7bc (patch)
tree4174652afd2415e794bef55526edd8e613e1f071 /.cirrus.yml
parentacc862155d7fc4cf25c6faff33ad7c87678bb7dc (diff)
disable -Werror=use-after free for CI
gcc' use after free detection is busted and sees one in vis.c where it's not possible.
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 1d9dfe2..0ba9041 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,9 +1,12 @@
+# gcc' -Werror=use-after-free gets tripped by vis.c: it sees a use
+# after free where it's not possible and breaks the CI.
+
linux_amd64_task:
container:
image: alpine:latest
test_script:
- apk add alpine-sdk linux-headers bison libretls-dev libevent-dev
- - ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations' -Werror
+ - ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations -Wno-use-after-free' -Werror
- make
- make regress REGRESS_HOST="*"
@@ -12,7 +15,7 @@ linux_arm_task:
image: alpine:latest
test_script:
- apk add alpine-sdk linux-headers bison libretls-dev libevent-dev
- - ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations' -Werror
+ - ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations -Wno-use-after-free' -Werror
- make
- make regress REGRESS_HOST="*"