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

Snir Sheriber ssheribe at redhat.com
Thu Apr 25 08:31:56 UTC 2019


Hi

On 4/25/19 10:17 AM, Frediano Ziglio wrote:
> 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


Notice that it won't clean the main one now.

Snir.


>       - ./autogen.sh --enable-static
>             --enable-lz4=no
>             --enable-webdav=no


More information about the Spice-devel mailing list