Skip to content

Commit

Permalink
Check clean target in GitHub actions
Browse files Browse the repository at this point in the history
Make sure "clean" actually does a full cleanup.
  • Loading branch information
tautschnig committed Jul 17, 2023
1 parent a07a75f commit 91bdd2a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,20 @@ jobs:
make -C regression/cbmc test-paths-lifo
env PATH=$PATH:`pwd`/src/solvers make -C regression/cbmc test-cprover-smt2
make -C jbmc/regression test-parallel JOBS=2
- name: Check cleanup
run: |
make -C src clean IPASIR=$PWD/riss.git/riss
make -C jbmc/src clean IPASIR=$PWD/riss.git/riss
rm -r riss.git
rm src/goto-cc/goto-ld
make -C unit clean
make -C regression clean
make -C jbmc/unit clean
make -C jbmc/regression clean
if [[ $(git status --ignored --porcelain | grep -v .ccache/) ]] ; then
git status --ignored
exit 1
fi
# This job takes approximately 25 to 34 minutes
check-ubuntu-20_04-make-clang:
Expand Down Expand Up @@ -241,6 +255,16 @@ jobs:
ls *.deb
- name: Run tests
run: cd build; ctest . -V -L CORE -j2
- name: Check cleanup
run: |
rm -r build
rm scripts/bash-autocomplete/cbmc.sh
make -C regression clean
make -C jbmc/regression clean
if [[ $(git status --ignored --porcelain | grep -v .ccache/) ]] ; then
git status --ignored
exit 1
fi
# This job takes approximately 34 to 38 minutes
check-ubuntu-22_04-make-clang:
Expand Down

0 comments on commit 91bdd2a

Please sign in to comment.