aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
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="*"