[Spice-devel] [PATCH spice-gtk] ci: Clean everything at the beginning

Frediano Ziglio fziglio at redhat.com
Wed May 15 13:46:33 UTC 2019


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>
---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 26c6f547..7766539e 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
-- 
2.20.1



More information about the Spice-devel mailing list