Build documentation.

This commit is contained in:
Florian Pose 2022-04-01 13:26:09 +02:00
parent 049592873d
commit a32fa5fc3a
1 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,7 @@
stages:
- build
- documentation
image: image:
registry.gitlab.com/etherlab.org/build-container-factory/leap-15.2:linux-syms registry.gitlab.com/etherlab.org/build-container-factory/leap-15.2:linux-syms
@ -10,5 +14,22 @@ build:
- make -j8 all modules - make -j8 all modules
- make DISTCHECK_CONFIGURE_FLAGS="--with-linux-dir=/usr/src/linux-obj/$(uname -i)/default" distcheck - 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: include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml' - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'