surfaces-unies/.gitlab-ci.yml

20 lines
426 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-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
- mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j