diff options
author | Aleksander Morgado <aleksandermj@chromium.org> | 2023-04-10 15:45:04 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@chromium.org> | 2023-04-10 15:47:06 +0000 |
commit | 06618fb3ae3bf4b8c390b456e2796aa906af6988 (patch) | |
tree | 9c5e624446630dcb549d647ba192f86d06497858 /.gitlab-ci.yml | |
parent | 2af954a21a7c481ee366e629a4ea8f1f741a5fcf (diff) |
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.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ee40acd..8e80ce28 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: |