From a32fa5fc3a513c03778155bd28d2cc6d82e330c0 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Fri, 1 Apr 2022 13:26:09 +0200 Subject: [PATCH] Build documentation. --- .gitlab-ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b7161048..fc046dda 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,7 @@ +stages: + - build + - documentation + image: registry.gitlab.com/etherlab.org/build-container-factory/leap-15.2:linux-syms @@ -10,5 +14,22 @@ build: - make -j8 all modules - make DISTCHECK_CONFIGURE_FLAGS="--with-linux-dir=/usr/src/linux-obj/$(uname -i)/default" distcheck +documentation: + stage: documentation + + artifacts: + untracked: true + expire_in: 1 week + + script: + - ./bootstrap + - ./configure --disable-kernel --disable-userlib + - make -j8 all + - cd documentation + - mkdir external + - make + - make index + - make + include: - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'