From 89ad302255e86112f8ae3efb8cfcf34cae16f898 Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Sat, 9 Apr 2022 18:17:11 +0000 Subject: [PATCH] CI: Build Rust code reference --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea10ccb2..12557e03 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -94,6 +94,22 @@ build_deb:future: - debuild -i -us -uc -b - cp ../*.deb . +build_reference: + stage: build + needs: + - job: build_meson + artifacts: true + artifacts: + paths: + - _build/doc + script: + - apt-get -y install cargo + - cd _build + - ../cargo.sh doc --no-deps --document-private-items + except: + variables: + - $PKG_ONLY == "1" + test_lintian: stage: test needs: