hopefully will cache dependencies
This commit is contained in:
parent
cde3be6e42
commit
7e4b688b5a
@ -3,9 +3,13 @@ image: nvidia/opengl:devel
|
|||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
|
cache:
|
||||||
|
path:
|
||||||
|
- apt-cache/
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
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
|
- gcc --version
|
||||||
- mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j
|
- mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j
|
||||||
|
Loading…
x
Reference in New Issue
Block a user