mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-21 20:05:42 +02:00
ci: generate coverage in debug build
This commit is contained in:
parent
235efd789a
commit
2ec8b559e2
1 changed files with 8 additions and 6 deletions
|
@ -13,15 +13,17 @@ before_script:
|
|||
- apk add libxcb-dev xcb-util-wm-dev xcb-util-cursor-dev cairo-dev yaml-dev
|
||||
- apk add wayland-dev wayland-protocols wlroots-dev
|
||||
- apk add json-c-dev libmpdclient-dev alsa-lib-dev
|
||||
- apk add gcovr
|
||||
|
||||
debug:
|
||||
stage: build
|
||||
script:
|
||||
- mkdir -p bld/debug
|
||||
- cd bld/debug
|
||||
- meson --buildtype=debug ../..
|
||||
- meson --buildtype=debug -Db_coverage=true ../..
|
||||
- ninja -k0
|
||||
- meson test
|
||||
- ninja test
|
||||
- ninja coverage-xml
|
||||
|
||||
release:
|
||||
stage: build
|
||||
|
@ -30,7 +32,7 @@ release:
|
|||
- cd bld/release
|
||||
- meson --buildtype=minsize ../../
|
||||
- ninja -k0
|
||||
- meson test
|
||||
- ninja test
|
||||
|
||||
x11_only:
|
||||
stage: build
|
||||
|
@ -39,7 +41,7 @@ x11_only:
|
|||
- cd bld/debug
|
||||
- meson --buildtype=debug -Dbackend-x11=enabled -Dbackend-wayland=disabled ../../
|
||||
- ninja -k0
|
||||
- meson test
|
||||
- ninja test
|
||||
|
||||
wayland_only:
|
||||
stage: build
|
||||
|
@ -48,7 +50,7 @@ wayland_only:
|
|||
- cd bld/debug
|
||||
- meson --buildtype=debug -Dbackend-x11=disabled -Dbackend-wayland=enabled ../../
|
||||
- ninja -k0
|
||||
- meson test
|
||||
- ninja test
|
||||
|
||||
plugins_as_shared_modules:
|
||||
stage: build
|
||||
|
@ -57,4 +59,4 @@ plugins_as_shared_modules:
|
|||
- cd bld/debug
|
||||
- meson --buildtype=debug -Dcore-plugins-as-shared-libraries=true ../../
|
||||
- ninja -k0
|
||||
- meson test
|
||||
- ninja test
|
||||
|
|
Loading…
Add table
Reference in a new issue