Commit 7ce314e3 authored by Sadman Kazi's avatar Sadman Kazi 🎸

Update gitlab CI config

Add apt caching and fix syntax.
parent cd73b3cb
Pipeline #73 failed with stage
in 7 minutes and 13 seconds
before_script:
- apt-get update -qq
- apt-get install -qq -y cmake libsdl2-dev libglew-dev libglm-dev libassimp-dev
cache:
key: apt-cache
paths:
- apt-cache/
script:
- mkdir build
- cd build
- cmake ../
- make
before_script:
- export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
- apt-get update -qq && apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y -qq cmake libsdl2-dev libglew-dev libglm-dev libassimp-dev
- cmake --version
build:
stage: test
script:
- mkdir -p build
- cd build
- cmake ../
- make
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment