[libcamera-devel] [PATCH 0/3] CI: Initial gitlab ci builder

Kieran Bingham kieran.bingham at ideasonboard.com
Mon Jan 20 13:55:41 CET 2020


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

-- 
2.20.1



More information about the libcamera-devel mailing list