[commit: ghc] master: gitlab-ci: More aggressive cleaning (11a89c0)

git at git.haskell.org git at git.haskell.org
Sat Dec 22 02:28:34 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/11a89c0d59c31ede5496a3118de9c1134989c941/ghc

>---------------------------------------------------------------

commit 11a89c0d59c31ede5496a3118de9c1134989c941
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Fri Dec 21 21:28:09 2018 -0500

    gitlab-ci: More aggressive cleaning


>---------------------------------------------------------------

11a89c0d59c31ede5496a3118de9c1134989c941
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cb7c927..7427f44 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



More information about the ghc-commits mailing list