Skip to content

Commit

Permalink
workflows: Run distcheck
Browse files Browse the repository at this point in the history
This lets us verify that our ability to do releases hasn't regressed.

Run this as part of the "valgrind" build, since we want to enable
gtk-doc for distcheck, and it's this build that already enables gtk-doc.
We don't want to do this in the main Autotools build, since
that enables AddressSanitizer, which often works badly with the
"scanner" tools in gtk-doc and GObject-Introspection - although this
is currently mitigated by --enable-asan not actually working as
intended (see #4844).

Signed-off-by: Simon McVittie <[email protected]>
  • Loading branch information
smcv authored and alexlarsson committed May 3, 2022
1 parent 1e09311 commit 968169a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ jobs:
CFLAGS: -O2
- name: Build flatpak
run: make -C _build -j $(getconf _NPROCESSORS_ONLN)
- name: Run tests
- name: Distcheck
run: make -C _build distcheck
- name: Run tests under valgrind
run: make -C _build check
env:
FLATPAK_TESTS_VALGRIND: true
Expand Down

0 comments on commit 968169a

Please sign in to comment.