hopefully will cache dependencies

This commit is contained in:
Phuntsok Drak-pa 2018-11-11 18:34:52 +01:00
parent cde3be6e42
commit 7e4b688b5a

View File

@ -3,9 +3,13 @@ image: nvidia/opengl:devel
stages:
- build
cache:
path:
- apt-cache/
build:
stage: build
script:
- apt update && apt install -y build-essential cmake
- apt update && apt -o dir::cache::archives="apt-cache" install -y build-essential cmake
- gcc --version
- mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j