diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 196c872..9d2e341 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -2,9 +2,9 @@ name: CI on: [push] -#env: +env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) - # BUILD_TYPE: Release + BUILD_TYPE: Debug jobs: build: @@ -49,11 +49,11 @@ jobs: shell: bash # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail - run: make ExperimentalTest + run: make NightlyTest - name: Test Memcheck working-directory: ${{runner.workspace}}/build shell: bash # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail - run: make ExperimentalMemCheck + run: make NightlyMemCheck diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ad1b47..8feffda 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,12 +3,8 @@ cmake_minimum_required(VERSION 3.0) set(CMAKE_C_STANDARD 11) set(TARGET_GROUP test CACHE STRING "Group to build") -# clang -#add_compile_options(-Wall -g -Ofast -march=native -DNDEBUG -Wextra -pedantic -Werror -Wno-unused-result) -# gcc -#add_compile_options(-Wall -g -Ofast -march=native -DNDEBUG -Wextra -pedantic -Werror -Wno-unused-result -Wno-clobbered -Wno-unused-parameter -fno-omit-frame-pointer) -add_compile_options(-Wall -g3 -O0 -Wextra -pedantic -Werror) +add_compile_options(-Wall -Wextra -pedantic -Werror) add_subdirectory(module_math) add_subdirectory(module_datastructures) @@ -30,6 +26,3 @@ else() message(FATAL_ERROR "Given TARGET_GROUP unknown") endif() -add_custom_target(memcheck - COMMAND ${CMAKE_CTEST_COMMAND} - --force-new-ctest-process --test-action memcheck)