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>
This commit is contained in:
parent
6c39d0ef1e
commit
e9cc7029e8
@ -76,8 +76,8 @@ stages:
|
|||||||
steps:
|
steps:
|
||||||
- script: cppcheck -j$(nproc) --force --quiet --inline-suppr .
|
- script: cppcheck -j$(nproc) --force --quiet --inline-suppr .
|
||||||
|
|
||||||
- job: htmldocs
|
- job: docs
|
||||||
displayName: 'Build HTML documentation'
|
displayName: 'Build documentation'
|
||||||
pool:
|
pool:
|
||||||
vmImage: $(ubuntu_vm)
|
vmImage: $(ubuntu_vm)
|
||||||
container:
|
container:
|
||||||
@ -89,6 +89,7 @@ stages:
|
|||||||
. /tmp/venvhtml/bin/activate
|
. /tmp/venvhtml/bin/activate
|
||||||
pip install -r doc/sphinx/requirements.txt
|
pip install -r doc/sphinx/requirements.txt
|
||||||
make htmldocs
|
make htmldocs
|
||||||
|
make infodocs
|
||||||
|
|
||||||
- job: todo
|
- job: todo
|
||||||
displayName: 'Search for TODO within source tree'
|
displayName: 'Search for TODO within source tree'
|
||||||
|
@ -149,14 +149,15 @@ grep TODO/FIXME/HACK:
|
|||||||
# search for HACK within source tree and ignore HACKKIT board
|
# search for HACK within source tree and ignore HACKKIT board
|
||||||
- grep -r HACK . | grep -v HACKKIT
|
- grep -r HACK . | grep -v HACKKIT
|
||||||
|
|
||||||
# build HTML documentation
|
# build documentation
|
||||||
htmldocs:
|
docs:
|
||||||
stage: testsuites
|
stage: testsuites
|
||||||
script:
|
script:
|
||||||
- virtualenv -p /usr/bin/python3 /tmp/venvhtml
|
- virtualenv -p /usr/bin/python3 /tmp/venvhtml
|
||||||
- . /tmp/venvhtml/bin/activate
|
- . /tmp/venvhtml/bin/activate
|
||||||
- pip install -r doc/sphinx/requirements.txt
|
- pip install -r doc/sphinx/requirements.txt
|
||||||
- make htmldocs
|
- make htmldocs
|
||||||
|
- make infodocs
|
||||||
|
|
||||||
# some statistics about the code base
|
# some statistics about the code base
|
||||||
sloccount:
|
sloccount:
|
||||||
|
Loading…
Reference in New Issue
Block a user