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

Victor Toso victortoso at redhat.com
Wed May 15 14:05:18 UTC 2019


Hi,

On Wed, May 15, 2019 at 02:46:33PM +0100, Frediano Ziglio wrote:
> 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>

Yes, I hit this yesterday too, thanks!
Acked-by: Victor Toso <victortoso 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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190515/cf5393c5/attachment.sig>


More information about the Spice-devel mailing list