summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorVadim Zeitlin <vz-swig@zeitlins.org>2021-09-30 17:25:25 +0200
committerVadim Zeitlin <vz-swig@zeitlins.org>2021-09-30 17:25:25 +0200
commit1395b902bef2cfbdda03f01616e94503ba792b84 (patch)
treeab2048c20234406aaf8a47bf936490ea69e372c1 /.github/workflows/ci.yml
parent542bc18b0f9ac6ebd3641247693ab91021343f43 (diff)
downloadswig-1395b902bef2cfbdda03f01616e94503ba792b84.tar.gz
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.
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e0042d0d2..c9d4a8078 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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