Skip to content

Commit

Permalink
CI: use valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
thkukuk committed Jan 28, 2025
1 parent 8462a9a commit 449eca0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-opensuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
- name: Install devel packages
run: |
zypper ref
zypper --non-interactive in --no-recommends meson gcc libeconf-devel systemd-devel sqlite3-devel audit-devel pam-devel docbook5-xsl-stylesheets
zypper --non-interactive in --no-recommends meson gcc libeconf-devel systemd-devel sqlite3-devel audit-devel pam-devel docbook5-xsl-stylesheets valgrind
- name: Setup meson
run: meson setup build --auto-features=enabled -Db_sanitize=address,undefined
run: meson setup build --auto-features=enabled

- name: Compile code
run: cd build && meson compile
run: meson compile -v -C build

- name: Run tests
run: cd build && meson test --verbose --print-errorlogs
run: meson test -v -C build --wrap='valgrind --leak-check=full --show-leak-kinds=all --error-exitcode=1'

0 comments on commit 449eca0

Please sign in to comment.