summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-01-12 20:30:58 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-01-13 09:09:07 +0100
commite9cc7029e881f470369ae2fc2c80029ef9e03923 (patch)
treed264c2c4849c387f4e57c257dae2ed073b9716e5
parent6c39d0ef1eece4d8aa966b77a1362a53abd254a8 (diff)
downloadu-boot-e9cc7029e881f470369ae2fc2c80029ef9e03923.tar.gz
doc: build infodocs target on Gitlab CI, Azure
Add infodocs target to CI testing. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--.azure-pipelines.yml5
-rw-r--r--.gitlab-ci.yml5
2 files changed, 6 insertions, 4 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 5fe3b8751d..49fc34fbf2 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -76,8 +76,8 @@ stages:
steps:
- script: cppcheck -j$(nproc) --force --quiet --inline-suppr .
- - job: htmldocs
- displayName: 'Build HTML documentation'
+ - job: docs
+ displayName: 'Build documentation'
pool:
vmImage: $(ubuntu_vm)
container:
@@ -89,6 +89,7 @@ stages:
. /tmp/venvhtml/bin/activate
pip install -r doc/sphinx/requirements.txt
make htmldocs
+ make infodocs
- job: todo
displayName: 'Search for TODO within source tree'
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8d981a388a..398fa2b45e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -149,14 +149,15 @@ grep TODO/FIXME/HACK:
# search for HACK within source tree and ignore HACKKIT board
- grep -r HACK . | grep -v HACKKIT
-# build HTML documentation
-htmldocs:
+# build documentation
+docs:
stage: testsuites
script:
- virtualenv -p /usr/bin/python3 /tmp/venvhtml
- . /tmp/venvhtml/bin/activate
- pip install -r doc/sphinx/requirements.txt
- make htmldocs
+ - make infodocs
# some statistics about the code base
sloccount: