From d3a8a9573539b4c4fe30903add1b9c845fb9e3f1 Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Fri, 29 May 2026 17:18:28 +0800 Subject: [PATCH 1/2] CMake: build unit test only in top-level projects --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a7e042a..9bb387c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,7 +143,7 @@ endif() ######################################################################################################################## -option(NOVA_SYMBOL_BUILD_TEST "Build unit tests" ON) +option(NOVA_SYMBOL_BUILD_TEST "Build unit tests" ${PROJECT_IS_TOP_LEVEL}) if (NOVA_SYMBOL_BUILD_TEST) set(CMAKE_FOLDER "test") From 4d234c64a2f4b76e3f14d5dfc31ab3a614974fc1 Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Fri, 29 May 2026 17:19:01 +0800 Subject: [PATCH 2/2] CI: enable sanitizers --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 905286e..df0597a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,3 +12,5 @@ permissions: jobs: build: uses: timblechmann/nova_github_actions/.github/workflows/cmake-ci.yml@main + with: + enable_sanitizers: true