From d5201cba01b1f77e3da57199eb4d5b1036104bc7 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 20 Jun 2018 12:31:51 +1000 Subject: [PATCH] gitlab: add a trivial gitlab CI configuration --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..647215a6 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +# Based on the GitLab example CI configuration + +# use the official gcc image, based on debian +image: gcc + +build: + stage: build + before_script: + - apt update + - apt -y install cmake ninja + script: + - cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLTO=ON -DTESTS=ON + +test: + stage: test + script: + - ctest -vvv