gitlab: cache the artefacts required for testing

This commit is contained in:
Danny Robson 2018-06-20 13:04:55 +10:00
parent 8bc87e7c3f
commit c2955997cc

View File

@ -12,9 +12,17 @@ build:
- apt update
- apt -y install cmake ninja-build python3 ragel
script:
- mkdir build && cd build
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLTO=ON -DTESTS=ON
- ninja
artifacts:
untracked: true
test:
stage: test
before_script:
- apt update
- apt -y install cmake python3
script:
- cd build
- ctest -vvv