Skip to content

Commit

Permalink
Valgrind tests added in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaryob committed Apr 6, 2024
1 parent dfa5ba2 commit 367a67e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/iksemel_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install --yes -qq build-essential autoconf libtool git python3 python3-dev python3-pip python3-setuptools
sudo apt-get install --yes -qq build-essential autoconf libtool git python3 python3-dev python3-setuptools gnutls-dev gnutls-bin valgrind
- name: Install meson via pip
run: |
sudo pip3 install meson
Expand All @@ -28,6 +28,10 @@ jobs:
- name: Ninja tests
run: |
ninja test -C build
- name: Valgrind tests
run: |
cd build
meson test --wrap='valgrind --leak-check=full --error-exitcode=1' --no-rebuild
- name: Prepare artifacts
if: failure()
run: |
Expand All @@ -38,5 +42,6 @@ jobs:
name: Logs
path: |
/home/runner/work/iksemel/iksemel/build/meson-logs/meson-log.txt
/home/runner/work/iksemel/iksemel/build/meson-logs/testlog-valgrind.txt
if-no-files-found: ignore

0 comments on commit 367a67e

Please sign in to comment.