libcruft-util/.gitlab-ci.yml

21 lines
390 B
YAML
Raw Normal View History

# Based on the GitLab example CI configuration
# use the official gcc image, based on debian
image: gcc
2018-06-20 12:45:39 +10:00
variables:
GIT_SUBMODULE_STRATEGY: recursive
build:
stage: build
before_script:
- apt update
- apt -y install cmake ninja-build python3 ragel
script:
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLTO=ON -DTESTS=ON
test:
stage: test
script:
- ctest -vvv