From 9f5a3528f9af6c7baad1211df46f5522cf0c5091 Mon Sep 17 00:00:00 2001 From: Kristaps Dz Date: Sat, 21 Dec 2024 16:36:12 -0800 Subject: [PATCH] Have CI use -fsanitize during build. --- .github/workflows/makefile.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index 9c8a262..f93679a 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -11,5 +11,9 @@ jobs: run: | cat /etc/os-release ./configure + echo 'CFLAGS += -fsanitize=undefined -fsanitize=address' > Makefile.local + echo 'LDFLAGS += -fsanitize=undefined -fsanitize=address' >> Makefile.local bmake regress + rm -f Makefile.local + bmake clean bmake valgrind