[libvirt] [PATCH v6] tests: perform cross compiler builds on GitLab CI

Daniel P. Berrangé berrange at redhat.com
Thu May 9 10:31:09 UTC 2019


On Tue, May 07, 2019 at 11:54:20AM +0200, Andrea Bolognani wrote:
> On Tue, 2019-04-16 at 11:19 +0100, Daniel P. Berrangé wrote:
> > +.job_template: &job_definition
> > +  script:
> > +    - mkdir vpath
> > +    - cd vpath
> 
> We use build/ for CentOS CI and Travis CI builds, so let's stick
> with that here as well.

Ok

> > +    - ../autogen.sh $CONFIGURE_OPTS
> 
> We have some code to show the contents of config.log when this
> steps fails in other CI environments, would it be a good idea to
> have it here as well?

Make it say:

    - ../autogen.sh $CONFIGURE_OPTS || (cat config.log && exit 1)


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list