From 0a6a1c59b7316db5bfdb5fe1390b2cf8cc8ad507 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Fri, 14 May 2021 08:34:18 +0200 Subject: [PATCH] Fix test execution in CI build script --- CMakeLists.txt | 1 + ci/build.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4962760..2afd781 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,5 +49,6 @@ add_subdirectory(src) include(CTest) if(BUILD_TESTING) + enable_testing() add_subdirectory(tests) endif() diff --git a/ci/build.sh b/ci/build.sh index aa27332..1add80a 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -44,7 +44,7 @@ cmake --version # configure build for AppImage release cmake "$REPO_ROOT" -DSTATIC_BUILD=On -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo "${EXTRA_CMAKE_ARGS[@]}" -make -j"$(nproc)" linuxdeploy +make -j"$(nproc)" ## Run Unit Tests ctest -V