]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
doc: build infodocs target on Gitlab CI, Azure
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 12 Jan 2023 19:30:58 +0000 (20:30 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 13 Jan 2023 08:09:07 +0000 (09:09 +0100)
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>
.azure-pipelines.yml
.gitlab-ci.yml

index 5fe3b8751dc2fb5238af4c46bd45c50d1155f055..49fc34fbf23fe671a7f09eb9bbb82ddcfc940cb7 100644 (file)
@@ -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'
index 8d981a388a80dff46af89d237d21a5456d71e404..398fa2b45e239c5cf4bf567bf24e358306f906de 100644 (file)
@@ -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: