Test documentation builds in Azure

This commit is contained in:
Christian Heimes 2020-03-18 13:19:55 +01:00 committed by Alexander Bokovoy
parent a4456b010a
commit a4efb3028b
2 changed files with 8 additions and 2 deletions

View File

@ -75,7 +75,13 @@ jobs:
set -e
echo "Running make target 'lint'"
make V=0 lint
displayName: Lint sources
echo "Building documentation"
make -C doc/ html SPHINXOPTS="-W"
displayName: Lint sources and documentation
- template: templates/save-test-artifacts.yml
parameters:
logsPath: doc/_build/html
logsArtifact: docs-$(System.JobIdentifier)-$(Build.BuildId)-$(System.StageAttempt)-$(System.PhaseAttempt)-$(System.JobPositionInPhase)
- job: Tox
pool:

View File

@ -29,5 +29,5 @@ steps:
python3-pyyaml \
echo "Installing FreeIPA development dependencies"
sudo dnf builddep -y --skip-broken -D "with_wheels 1" -D "with_lint 1" --spec freeipa.spec.in --best --allowerasing --setopt=install_weak_deps=False
sudo dnf builddep -y --skip-broken -D "with_wheels 1" -D "with_lint 1" -D "with_doc 1" --spec freeipa.spec.in --best --allowerasing --setopt=install_weak_deps=False
displayName: Prepare build environment