summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-12-21 14:49:57 -0500
committerBen Gamari <ben@smart-cactus.org>2018-12-21 16:54:40 -0500
commit290cb9bc527ee4fd33ffc1169eb6b521f6f94003 (patch)
tree6cb3f734ebeb1cc02589d00a1dfa3e86eb4c0d75
parent306ad5c9d688ad1b9652cf5609ddcb987d91b446 (diff)
downloadhaskell-290cb9bc527ee4fd33ffc1169eb6b521f6f94003.tar.gz
gitlab-ci: Ensure that build environment is clean
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f0d15f05b3..fbc8409a49 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -51,6 +51,7 @@ ghc-linters:
.validate-hadrian:
allow_failure: true
script:
+ - git clean -xdf
- bash .circleci/prepare-system.sh
- if [[ -d ./cabal-cache ]]; then cp -R ./.cabal-cache ~/.cabal-cache; fi
- ./boot
@@ -83,7 +84,7 @@ validate-x86_64-linux-deb8-hadrian:
variables:
TEST_TYPE: test
script:
- - make clean || true
+ - git clean -xdf
- ./boot
- ./configure $CONFIGURE_ARGS
- |
@@ -269,6 +270,7 @@ validate-x86_64-linux-deb9-unreg:
.validate-windows:
before_script:
+ - git clean -xdf
- PATH=C:\msys64\usr\bin;%PATH%
- python .gitlab/fix-submodules.py
- git submodule sync --recursive