18 lines
322 B
YAML
18 lines
322 B
YAML
|
# 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
|