Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-04-23 23:41:32 +0200
committerMartin Hořeňovský2022-04-24 13:34:50 +0200
commitc2bc321607cf4f01726fd41c8780d164799a5f07 (patch)
treea89b5d70dcdbe8c6e6cfbcd8573a2061223de6ff /.github/workflows
parentea9029c478f6163272569a467832d048d46d215f (diff)
downloadcatch3-c2bc321607cf4f01726fd41c8780d164799a5f07.tar.gz
Add pipeline running tests under Valgrind to GitHub Action
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/linux-other-builds.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/linux-other-builds.yml b/.github/workflows/linux-other-builds.yml
index 65fdd76d..31dcb921 100644
--- a/.github/workflows/linux-other-builds.yml
+++ b/.github/workflows/linux-other-builds.yml
@@ -59,6 +59,15 @@ jobs:
other_pkgs: clang-10
cmake_configurations: -DCATCH_ENABLE_CONFIGURE_TESTS=ON
+ # Valgrind test Clang-10
+ - cxx: clang++-10
+ build_description: Valgrind tests
+ build_type: Debug
+ std: 14
+ other_pkgs: clang-10 valgrind
+ cmake_configurations: -DMEMORYCHECK_COMMAND=`which valgrind` -DMEMORYCHECK_COMMAND_OPTIONS="-q --track-origins=yes --leak-check=full --num-callers=50 --show-leak-kinds=definite --error-exitcode=1"
+ other_ctest_args: -T memcheck -LE uses-python
+
steps:
- uses: actions/checkout@v2
@@ -91,4 +100,4 @@ jobs:
CTEST_OUTPUT_ON_FAILURE: 1
working-directory: ${{runner.workspace}}/build
# Hardcode 2 cores we know are there
- run: ctest -C ${{matrix.build_type}} -j 2
+ run: ctest -C ${{matrix.build_type}} -j 2 ${{matrix.other_ctest_args}}