Skip to content

Commit

Permalink
Add Valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal committed Jan 1, 2021
1 parent 788db43 commit 8fb231f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
- e2ee: '' # Somewhat reduce the number of combinations to check
update-api: 'update-api'

env:
VALGRIND: valgrind --tool=memcheck --leak-check=yes --gen-suppressions=all --suppressions=tests/.valgrind.supp

steps:
- uses: actions/checkout@v2
with:
Expand All @@ -45,6 +48,9 @@ jobs:
version: '5.9.9'
cached: ${{ steps.cache-qt.outputs.cache-hit }}

- name: Install Valgrind
run: sudo apt-get install valgrind

- name: Setup build environment
run: |
if [ "${{ matrix.compiler }}" == "GCC" ]; then
Expand Down Expand Up @@ -103,4 +109,4 @@ jobs:
env:
TEST_USER: ${{ secrets.TEST_USER }}
TEST_PWD: ${{ secrets.TEST_PWD }}
run: build-test/quotest "$TEST_USER" "$TEST_PWD" quotest-gha '#quotest:matrix.org' "$QUOTEST_ORIGIN"
run: $VALGRIND build-test/quotest "$TEST_USER" "$TEST_PWD" quotest-gha '#quotest:matrix.org' "$QUOTEST_ORIGIN"

0 comments on commit 8fb231f

Please sign in to comment.