Debian Codegraph @

ci/pages.sh

raw
1 #!/usr/bin/env bash
2
3 # build documentation website
4
5 if [ -z ${CI+x} ]; then
6 echo "this script is only intended to run in CI" >&2
7 exit 1
8 fi
9
10 set -e
11 set -o pipefail
12 set -u
13 set -x
14
15 # build and install Graphviz, which will be used by Doxygen
16 GV_VERSION=$(python3 gen_version.py)
17 tar xfz graphviz-${GV_VERSION}.tar.gz
18 mkdir build
19 cd build
20 ../graphviz-${GV_VERSION}/configure
21 make
22 make install
23
24 # Generate the Doxygen docs
25 make doxygen
26
27 # move the output artifacts to where ../.gitlab-ci.yml expects them
28 mv public ../