surfaces-unies/.gitlab-ci.yml
Phuntsok Drak-pa a4a088779c
I’m an idiot
2018-11-25 00:51:32 +01:00

36 lines
692 B
YAML

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