[libcamera-devel] [PATCH 2/3] CI: Provide initial automated testing
Kieran Bingham
kieran.bingham at ideasonboard.com
Thu Nov 22 14:10:09 CET 2018
Integrate compile testing and the ninja test framework.
Any unit tests registered with the Meson Build system will automatically
be run with 'ninja test'.
Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
.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 000000000000..8b4b4b12d368
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,14 @@
+image: gcc
+
+build:
+ stage: build
+ before_script:
+ - apt update && apt -y install meson
+ script:
+ - mkdir libcamera && cd libcamera && meson .. && ninja
+ - ninja test
+ artifacts:
+ paths:
+ - libcamera/lib/libcamera.so
+ - libcamera/test/test_init
+ - meson-logs/testlog.txt
--
2.17.1
More information about the libcamera-devel
mailing list