summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-12-21 21:28:09 -0500
committerBen Gamari <ben@smart-cactus.org>2018-12-21 21:28:09 -0500
commit11a89c0d59c31ede5496a3118de9c1134989c941 (patch)
tree5258967494c1e98d686c0a1280b5b3e087af4698
parent015f6ecc5af1be55a59ec7e016c658448dd47dfd (diff)
downloadhaskell-11a89c0d59c31ede5496a3118de9c1134989c941.tar.gz
gitlab-ci: More aggressive cleaning
-rw-r--r--.gitlab-ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cb7c92775a..7427f44378 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -51,7 +51,7 @@ ghc-linters:
.validate-hadrian:
allow_failure: true
script:
- - git clean -xdf
+ - git clean -xdf && git submodule foreach git clean -xdf
- bash .circleci/prepare-system.sh
- if [[ -d ./cabal-cache ]]; then cp -R ./.cabal-cache ~/.cabal-cache; fi
- ./boot
@@ -84,7 +84,7 @@ validate-x86_64-linux-deb8-hadrian:
variables:
TEST_TYPE: test
script:
- - git clean -xdf
+ - git clean -xdf && git submodule foreach git clean -xdf
- ./boot
- ./configure $CONFIGURE_ARGS
- |
@@ -295,6 +295,7 @@ validate-x86_64-linux-deb9-unreg:
.validate-windows:
before_script:
- git clean -xdf
+ - git submodule foreach git clean -xdf
- PATH=C:\msys64\usr\bin;%PATH%
- python .gitlab/fix-submodules.py
- git submodule sync --recursive