[libcamera-devel,0/3] CI: Initial gitlab ci builder
mbox series

Message ID 20200120125544.12562-1-kieran.bingham@ideasonboard.com
Headers show
Series
  • CI: Initial gitlab ci builder
Related show

Message

Kieran Bingham Jan. 20, 2020, 12:55 p.m. UTC
I've kept this local for quite some time, but with renewed interest in running
automated builds, I figured it's time to post.

This initial gitlab-ci builder uses an alpine:edge image which currently uses
GCC 9. This has identified a build error on the pipeline_handler header, for
which the first patch in the series corrects.

https://gitlab.freedesktop.org/wayland/ci-templates provides a range of further
possible templates which we could utilise moving forwards. It would be helpful
if we had a full matrix build of multiple OS types and compiler versions (and
types).

I have visions in the future that we could run the bulk of our tests on a qemu
image with VIMC/VIVID etc, but that's out of scope for the moment. I've looked
in the past at building a UML kernel image to run the tests in, but the
media-trees do not easily build in UML yet, and so that is also out of scope.

Kieran Bingham (3):
  pipeline_handler: Include system header for dev_t
  Documentation: Add linkcheck target
  ci: gitlab: Provide initial automated testing

 .gitlab-ci.yml                           | 18 ++++++++++++++++++
 Documentation/meson.build                |  6 ++++++
 src/libcamera/include/pipeline_handler.h |  1 +
 3 files changed, 25 insertions(+)
 create mode 100644 .gitlab-ci.yml