Use "git clean" to start CI from a clean state

Otherwise leftover files from a previous CI build can cause problems.
master
Xavier Leroy 2019-03-02 19:31:28 +01:00
parent 176cb2dad1
commit 15cb5caf8a
1 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,10 @@ echo "======== clang 6.0, address sanitizer, UB sanitizer =========="
$make -s distclean || :
# `make distclean` does not clean the files from previous versions that
# are not produced by the current version, so use `git clean` in addition.
git clean -f -d -x
# Use clang 6.0
# We cannot give the sanitizer options as part of -cc because
# then various autoconfiguration tests fail.