surfaces-unies/.gitlab-ci.yml

36 lines
692 B
YAML
Raw Normal View History

2018-11-02 12:34:36 +00:00
image: nvidia/opengl:devel
2018-10-21 20:03:30 +00:00
stages:
- build
2018-11-24 23:51:32 +00:00
- pages
2018-10-21 20:03:30 +00:00
2018-11-11 17:34:52 +00:00
cache:
key: apt-cache
2018-11-11 17:35:59 +00:00
paths:
2018-11-11 17:34:52 +00:00
- apt-cache/
before_script:
- export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
2018-11-11 17:43:41 +00:00
- apt-get update -yq && apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y build-essential cmake
2018-10-21 20:03:30 +00:00
build:
stage: build
script:
- gcc --version
2018-11-24 23:32:04 +00:00
- make debug
- make release
2018-11-24 23:51:32 +00:00
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