Commit 11a89c0d authored by Ben Gamari's avatar Ben Gamari 🐢

gitlab-ci: More aggressive cleaning

parent 015f6ecc
...@@ -51,7 +51,7 @@ ghc-linters: ...@@ -51,7 +51,7 @@ ghc-linters:
.validate-hadrian: .validate-hadrian:
allow_failure: true allow_failure: true
script: script:
- git clean -xdf - git clean -xdf && git submodule foreach git clean -xdf
- bash .circleci/prepare-system.sh - bash .circleci/prepare-system.sh
- if [[ -d ./cabal-cache ]]; then cp -R ./.cabal-cache ~/.cabal-cache; fi - if [[ -d ./cabal-cache ]]; then cp -R ./.cabal-cache ~/.cabal-cache; fi
- ./boot - ./boot
...@@ -84,7 +84,7 @@ validate-x86_64-linux-deb8-hadrian: ...@@ -84,7 +84,7 @@ validate-x86_64-linux-deb8-hadrian:
variables: variables:
TEST_TYPE: test TEST_TYPE: test
script: script:
- git clean -xdf - git clean -xdf && git submodule foreach git clean -xdf
- ./boot - ./boot
- ./configure $CONFIGURE_ARGS - ./configure $CONFIGURE_ARGS
- | - |
...@@ -295,6 +295,7 @@ validate-x86_64-linux-deb9-unreg: ...@@ -295,6 +295,7 @@ validate-x86_64-linux-deb9-unreg:
.validate-windows: .validate-windows:
before_script: before_script:
- git clean -xdf - git clean -xdf
- git submodule foreach git clean -xdf
- PATH=C:\msys64\usr\bin;%PATH% - PATH=C:\msys64\usr\bin;%PATH%
- python .gitlab/fix-submodules.py - python .gitlab/fix-submodules.py
- git submodule sync --recursive - git submodule sync --recursive
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment