diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 460008b..fcd917e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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