Skip to content

Commit

Permalink
valgrind on fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Sep 7, 2024
1 parent 2c31e9e commit 4fe04ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ jobs:
cmake --build build -t retest
- name: retest
if: ${{ matrix.compiler == 'clang' }}
run: |
./build/test/retest -a -v
./build/test/retest -r -v
- name: retest with valgrind
if: ${{ matrix.compiler == 'gcc' }}
if: ${{ matrix.os == 'ubuntu-20.04' }}
run: |
valgrind --leak-check=full --show-reachable=yes --error-exitcode=42 ./build/test/retest -a -v
valgrind --leak-check=full --show-reachable=yes --error-exitcode=42 ./build/test/retest -r -v
6 changes: 5 additions & 1 deletion .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
- name: install devel tools
run: |
yum -y install gcc clang cmake make openssl-devel zlib-devel ninja-build
yum -y install gcc clang cmake valgrind openssl-devel zlib-devel ninja-build
- name: make info
run: |
Expand All @@ -38,3 +38,7 @@ jobs:
- name: make
run: |
cmake -B build -DCMAKE_C_FLAGS="-Werror" && cmake --build build -j
- name: retest
run: |
valgrind --leak-check=full --show-reachable=yes --error-exitcode=42 ./build/test/retest -r -v

0 comments on commit 4fe04ff

Please sign in to comment.