gitlab: add a trivial gitlab CI configuration

This commit is contained in:
Danny Robson 2018-06-20 12:31:51 +10:00
parent ba24e9e5af
commit d5201cba01

17
.gitlab-ci.yml Normal file
View File

@ -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