[commit: ghc] master: gitlab-ci: Clean tree on Windows after job (9c908fc)

git at git.haskell.org git at git.haskell.org
Tue Dec 25 03:38:08 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9c908fc7b312bdd3dbcb25d36c688b421558de78/ghc

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

commit 9c908fc7b312bdd3dbcb25d36c688b421558de78
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Dec 24 15:34:00 2018 -0500

    gitlab-ci: Clean tree on Windows after job
    
    It seems like currently the runner doesn't delete the working tree after
    finishing a job. At least we can delete the binary artifacts for now.


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

9c908fc7b312bdd3dbcb25d36c688b421558de78
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d86de7a..25771c2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -319,6 +319,7 @@ validate-x86_64-linux-deb9-unreg:
   after_script:
     - rd /s /q tmp
     - robocopy /np /nfl /ndl /e "%APPDATA%\cabal" cabal-cache
+    - bash -c 'make clean || true'
   cache:
     paths:
       - cabal-cache



More information about the ghc-commits mailing list