summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-30 09:45:18 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-30 09:45:18 +0100
commitd46b481ebc24f1cd46a67136def69652f35a111d (patch)
tree42c7e45597db3482309bb17c8402d4834b1e4dc1
parentd5ce1eda907df019cd3b26fc8db0246eac804c76 (diff)
ci: add asan on ubuntu runner
-rw-r--r--userconfig-runner@Linux-GNU.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/userconfig-runner@Linux-GNU.cmake b/userconfig-runner@Linux-GNU.cmake
index 39962ed0..2ac9dc79 100644
--- a/userconfig-runner@Linux-GNU.cmake
+++ b/userconfig-runner@Linux-GNU.cmake
@@ -3,6 +3,9 @@ sets(BOOL FLOORMAT_SUBMODULE-SDL2 OFF)
set(CMAKE_BUILD_TYPE DEBUG PARENT_SCOPE)
set(CMAKE_INSTALL_MESSAGE NEVER)
+add_compile_options(-fsanitize=address,undefined)
+add_compile_options(-fsanitize=address,undefined)
+
# for floormat sources only
function(fm-userconfig-src)
add_compile_options(-Wall -Wextra -Wpedantic -Wno-old-style-cast -Wno-padded)