diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 826a352..f4b324b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,11 +26,12 @@ jobs: build: - cc: gcc gtk: 3 - install: desktop-file-utils docbook-xsl exiv2 libexiv2-dev libgtk-3-dev xsltproc gettext + install: desktop-file-utils docbook-xsl exiv2 libexiv2-dev libgtk-3-dev xsltproc gettext valgrind cflags: -Wall -Wextra -Werror -Wno-error=deprecated-declarations -O3 -DENABLE_NLS=1 cxx: g++ target: all install_target: install install-po install-desktop-file + valgrind: yes - cc: clang gtk: 3 install: desktop-file-utils docbook-xsl exiv2 libexiv2-dev libgtk-3-dev xsltproc gettext @@ -92,6 +93,9 @@ jobs: echo 'Expecting ${{ matrix.build.failing_tests }} test failures' make check CHECK_OPTIONS=-v | tee /dev/stderr | grep -q '${{ matrix.build.failing_tests }} test(s) have FAILED' fi + - if: matrix.build.valgrind == 'yes' + name: 'valgrind test' + run: make check CHECK_OPTIONS='-v -m' - name: 'install test' run: make prefix= DESTDIR="${PWD}" ${{ matrix.build.install_target }}