[Spice-devel] [PATCH spice-gtk] ci: Better clean between builds

Frediano Ziglio fziglio at redhat.com
Thu Apr 25 07:17:16 UTC 2019


Clean all git modules, not only the main one.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Successful job at https://gitlab.freedesktop.org/fziglio/spice-gtk/-/jobs/261565

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dbfb7ad3..d842689d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,7 +38,7 @@ fedora-autotools:
     - make check
     - cd ..
     # Run without features
-    - git clean -xfd
+    - git submodule foreach --recursive git clean -xfd
     - ./autogen.sh --enable-static
           --enable-lz4=no
           --enable-webdav=no
-- 
2.20.1



More information about the Spice-devel mailing list