[Spice-devel] [PATCH spice-gtk 1/2] Add .gitlab-ci.yml

Pavel Grunt pgrunt at redhat.com
Thu Mar 9 17:58:10 UTC 2017


Hi,

On Thu, 2017-03-09 at 18:17 +0200, Snir Sheriber wrote:
> ---
>  .gitlab-ci.yml | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>  create mode 100644 .gitlab-ci.yml
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> new file mode 100644
> index 0000000..0f63c67
> --- /dev/null
> +++ b/.gitlab-ci.yml
> @@ -0,0 +1,14 @@
> +image: fedora:latest
> +
> +before_script:
> +  - dnf install 'dnf-command(copr)' git libtool make -y
> +  - dnf copr enable @spice/nightly -y
> +  - dnf builddep spice-gtk -y
> +  - dnf install pyparsing -y
> +  - dnf install redhat-rpm-config -y
I would merge dnf install commands (it also should be faster)

> +
> +makecheck:
> +  script:
> +  - ./autogen.sh
you need --enable-static, otherwise spice-gtk won't generate tests

> +  - make
> +  - make check

Thanks,
Pavel




More information about the Spice-devel mailing list