blob: 1132bb77ca4ee2ab7239da9ba3daaed762f5591f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
default:
image: registry.source.arknet.ch/fmorgner/turns/ci:latest
build:
stage: build
variables:
CMAKE_INSTALL_PREFIX: "ch.arknet.Turns"
script:
- weston --no-config --socket=$WAYLAND_DISPLAY --backend=headless &
- cmake --workflow --preset $BUILD_TYPE
- cmake --install build --config $BUILD_TYPE
artifacts:
paths:
- ${CMAKE_INSTALL_PREFIX}/
- build/**/*.gcda
- build/**/*.gcno
- build/**/*.res.c
expire_in: 24 hours
parallel:
matrix:
- BUILD_TYPE:
- debug
- minsizerel
report:
stage: test
script:
- lcov -c -o coverage.info -d build -b . --config-file .lcovrc
- lcov -l coverage.info
- genhtml -o coverage coverage.info
coverage: '/Total:\|(\d+\.?\d+)\%/'
artifacts:
paths:
- coverage/*
- coverage.info
expire_in: 24 hours
needs:
- job: build
parallel:
matrix:
- BUILD_TYPE: debug
|