[Spice-devel] [PATCH spice-common] Add .gitlab-ci.yml file
Frediano Ziglio
fziglio at redhat.com
Thu May 17 15:11:54 UTC 2018
>
> Here is an example of a successful run:
>
> https://gitlab.freedesktop.org/etrunko/spice-common/-/jobs/549
>
Stupid question. Is it worth doing giving that spice-common is compiled
and tested from both spice-server and spice-gtk?
> On 17/05/18 11:29, Eduardo Lima (Etrunko) wrote:
> > Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
> > ---
> > .gitlab-ci.yml | 18 ++++++++++++++++++
> > 1 file changed, 18 insertions(+)
> > create mode 100644 .gitlab-ci.yml
> >
> > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> > new file mode 100644
> > index 0000000..1d61805
> > --- /dev/null
> > +++ b/.gitlab-ci.yml
> > @@ -0,0 +1,18 @@
> > +image: fedora:latest
> > +
> > +before_script:
> > + - >
> > + dnf install 'dnf-command(copr)' git libtool make libasan
> > + python3 python3-six python3-pyparsing glib-networking
> > + -y
> > + - dnf copr enable @spice/nightly -y
> > + - dnf builddep spice -y
> > +
> > +makecheck:
> > + script:
> > + - >
> > + CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer
> > -Wframe-larger-than=40920'
> > + LDFLAGS='-fsanitize=address -lasan'
> > + ./autogen.sh --enable-extra-checks
> > + - make
> > + - make check || (cat tests/test-suite.log && exit 1)
> >
>
Frediano
More information about the Spice-devel
mailing list