Skip to content

Commit

Permalink
Activate tests in github actions (and clang sanitizer) (#85)
Browse files Browse the repository at this point in the history
* Use actions with -fsanitize=memory

* Use actions with -fsanitize=memory

* Use actions with -fsanitize=memory
  • Loading branch information
vissarion authored Jun 3, 2020
1 parent b354f40 commit d10b749
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cmake-clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ jobs:
rm -rf build;
mkdir build;
cd build;
cmake -D CMAKE_CXX_COMPILER=${{ matrix.compilers }} ../test;
cmake -D CMAKE_CXX_COMPILER=${{ matrix.compilers }} -D CMAKE_CXX_FLAGS=-fsanitize=memory -D CMAKE_CXX_FLAGS=-fsanitize=undefined -D CMAKE_CXX_FLAGS=-g ../test;
make;
ctest --verbose;

0 comments on commit d10b749

Please sign in to comment.