Skip to content

Commit

Permalink
ci: try to run make check even with clang
Browse files Browse the repository at this point in the history
The mentioned issue has been solved.
  • Loading branch information
vincentbernat committed Mar 10, 2022
1 parent 936fe92 commit 475c21e
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions tests/ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,11 @@ esac
exit 1
}
make all ${MAKE_ARGS-CFLAGS=-Werror} || make all ${MAKE_ARGS-CFLAGS=-Werror} V=1

# Temporarily don't run checks with clang, due to libcheck incompatibility:
# See: <https://github.com/libcheck/check/issues/276>
if [ "$CC" != clang ]; then
make check ${MAKE_ARGS-CFLAGS=-Werror} || {
[ ! -f tests/test-suite.log ] || cat tests/test-suite.log
exit 1
}
make distcheck
fi
make check ${MAKE_ARGS-CFLAGS=-Werror} || {
[ ! -f tests/test-suite.log ] || cat tests/test-suite.log
exit 1
}
make distcheck

case "$(uname -s)" in
Darwin)
Expand Down

0 comments on commit 475c21e

Please sign in to comment.