Commit fcb3dfcf authored by Aaron Plattner's avatar Aaron Plattner
Browse files

CI: Build documentation



Update the CI build environment to install doxygen and graphviz. Deploy the
generated documentation as pages.
Signed-off-by: default avatarAaron Plattner <aplattner@nvidia.com>
parent 7d7ceea5
image: docker:latest image: archlinux/base:latest
services:
- docker:dind
before_script: stages:
- echo FROM nwnk/xserver-travis-rawhide:v5 > Dockerfile - build
- echo ADD . /root >> Dockerfile - deploy
- echo WORKDIR /root >> Dockerfile
- docker build -t withgit .
job: build:
script: stage: build
- docker run --volume $HOME/.ccache:/root/.ccache withgit ./test/gitlab-ci.sh script:
- pacman --noconfirm -Sy gcc meson ninja pkg-config doxygen graphviz texlive-bin
- ./test/gitlab-ci.sh
artifacts:
paths:
- public
pages:
stage: deploy
script:
- echo "Nothing to do"
artifacts:
paths:
- public
only:
- master
#!/bin/sh #!/bin/sh
set -x set -xe
meson setup build/ meson setup build/
meson configure -Dprefix=/usr -Ddri2=true build/ meson configure -Dprefix=/usr -Ddri2=true -Ddocumentation=true build/
ninja -C build/ install test ninja -C build/ install test
cp -av build/doc/html public/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment