[Git][ghc/ghc][wip/bump-ci] gitlab-ci: Try cleaning up hadrian directory

Ben Gamari gitlab at gitlab.haskell.org
Tue Nov 10 19:23:20 UTC 2020



Ben Gamari pushed to branch wip/bump-ci at Glasgow Haskell Compiler / GHC


Commits:
cc4c79dc by Ben Gamari at 2020-11-10T14:22:58-05:00
gitlab-ci: Try cleaning up hadrian directory

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -53,6 +53,7 @@ ghc-linters:
 .validate-hadrian:
   allow_failure: true
   script:
+    - rm -Rf hadrian; git checkout .
     - 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
@@ -86,6 +87,7 @@ validate-x86_64-linux-deb8-hadrian:
   variables:
     TEST_TYPE: test
   before_script:
+    - rm -Rf hadrian; git checkout .
     - git clean -xdf && git submodule foreach git clean -xdf
   script:
     - ./boot
@@ -120,6 +122,7 @@ validate-x86_64-darwin:
     ac_cv_func_clock_gettime: "no"
     LANG: "en_US.UTF-8"
   before_script:
+    - rm -Rf hadrian; git checkout .
     - git clean -xdf && git submodule foreach git clean -xdf
     - python .gitlab/fix-submodules.py
     - git submodule sync --recursive
@@ -148,6 +151,7 @@ validate-x86_64-darwin:
   tags:
     - x86_64-linux
   before_script:
+    - rm -Rf hadrian; git checkout .
     - git clean -xdf && git submodule foreach git clean -xdf
     - python3 .gitlab/fix-submodules.py
     - git submodule sync --recursive
@@ -372,6 +376,7 @@ validate-x86_64-linux-fedora27:
 
 .validate-windows:
   before_script:
+    - rm -Rf hadrian; git checkout .
     - git clean -xdf
     - git submodule foreach git clean -xdf
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/cc4c79dc896c630f0693dcdf2c78685041117daa

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/cc4c79dc896c630f0693dcdf2c78685041117daa
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201110/ff0cc5b8/attachment-0001.html>


More information about the ghc-commits mailing list