Re-add "clean" step of the build

This was used with Travis CI, so there doesn't seem to be any reason not
to use it with GitHub Actions too.
This commit is contained in:
Vadim Zeitlin 2021-09-30 17:25:25 +02:00
commit 1395b902be

View file

@ -114,6 +114,9 @@ jobs:
if test -n "$SWIGLANG"; then make check-$SWIGLANG-enabled; fi
if test -n "$SWIGLANG"; then make $SWIGJOBS check-$SWIGLANG-examples CFLAGS="$cflags" CXXFLAGS="$cxxflags"; fi
if test -n "$SWIGLANG"; then make $SWIGJOBS check-$SWIGLANG-test-suite CFLAGS="$cflags" CXXFLAGS="$cxxflags"; fi
#echo 'Cleaning...'
# Skip on osx as often fails with: rm: Resource temporarily unavailable
#if test "$TRAVIS_OS_NAME" != "osx"; then make check-maintainer-clean && ../../configure $CONFIGOPTS; fi
- name: clean
working-directory: build/build
run: |
set -x
make check-maintainer-clean && ../../configure $CONFIGOPTS