[Spice-commits] .gitlab-ci.yml

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 15 14:07:38 UTC 2019


 .gitlab-ci.yml |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 45ec7f1c1d3b05e73cab896e08bcaf9e61f730fb
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed May 15 14:35:20 2019 +0100

    ci: Clean everything at the beginning
    
    It seems sometimes the working directory is not properly cleaned
    causing some issue.
    Make sure it's clean before doing a out-of-tree build (which have
    problems with not cleaned directory).
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Victor Toso <victortoso at redhat.com>

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 26c6f54..7766539 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,6 +30,8 @@ fedora-autotools:
     - (cd spice-protocol && ./autogen.sh --prefix=/usr && make install)
 
   script:
+    - git clean -xfd
+    - git submodule foreach --recursive git clean -xfd
     # Run with default options + out-of-tree
     - mkdir build
     - cd build


More information about the Spice-commits mailing list