[libcamera-ci] [PATCH v1] Eliminate duplicate keys in YAML
Barnabás Pőcze
barnabas.pocze at ideasonboard.com
Wed Dec 18 13:45:55 CET 2024
The key `artifacts` occurs twice in the `test-unit` dictionary.
Gitlab accepts this, but as if only the second occurrence was
present, so the meson logs are not saved as artifacts. Merge
the two artifact specifications to fix this.
Fixes: 075d5a5cd22ecd ("Enable junit artifact generation for test-unit job")
Signed-off-by: Barnabás Pőcze <barnabas.pocze at ideasonboard.com>
---
gitlab-ci.yml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gitlab-ci.yml b/gitlab-ci.yml
index ec19f55..48c18d5 100644
--- a/gitlab-ci.yml
+++ b/gitlab-ci.yml
@@ -394,6 +394,8 @@ test-unit:
expire_in: 1 week
paths:
- build/meson-logs/
+ reports:
+ junit: build/meson-logs/testlog.junit.xml
variables:
BUILD_TYPE: debug
MESON_OPTIONS: >-
@@ -408,9 +410,6 @@ test-unit:
-D qcam=disabled
-D test=true
-D v4l2=true
- artifacts:
- reports:
- junit: build/meson-logs/testlog.junit.xml
test-lc-compliance:virtual:
extends:
--
2.47.1
More information about the libcamera-devel
mailing list