image: nvidia/opengl:devel stages: - build - pages cache: key: apt-cache paths: - apt-cache/ before_script: - export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR - apt-get update -yq && apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y build-essential cmake build: stage: build script: - gcc --version - make debug - make release pages: stage: build image: ubuntu:trusty script: - export DEBIAN_FRONTEND=noninteractive - apt-get -yq update - apt-get -yq install graphviz - apt-get -yq install doxygen - cd doc && doxygen Doxyfile && cd .. - mv docs/html/ public/ artifacts: paths: - public