ci: add explicit debug build with all features

The release buildtype will disable certain warnings that we do see in
debug builds. Ensure we have a test build with all features enabled in
debug mode.
This commit is contained in:
Aleksander Morgado
2023-04-10 15:45:04 +00:00
parent 2af954a21a
commit 06618fb3ae

View File

@@ -243,6 +243,24 @@ build-single-plugins-builtin:
ninja -C build_$PLUGIN;
done
build-debug:
stage: build
extends:
- .fdo.distribution-image@ubuntu
- .common_variables
only:
- main
- merge_requests
- tags
- schedules
script:
- *prepare_deps
- meson setup build --buildtype=debug --prefix=/usr -Dwerror=true -Dgtk_doc=true -Dpolkit=strict -Dsystemdsystemunitdir=/lib/systemd/system
- ninja -C build
- ninja -C build test
- ninja -C build install
- ninja -C build uninstall
build-release:
stage: build
extends: