From c2955997cccd8db5f4825b661de1dd4a6e33e322 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 20 Jun 2018 13:04:55 +1000 Subject: [PATCH] gitlab: cache the artefacts required for testing --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7f8b29b..f5dcafc5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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