Commit 290cb9bc authored by Ben Gamari's avatar Ben Gamari 🐢

gitlab-ci: Ensure that build environment is clean

parent 306ad5c9
......@@ -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
......
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