diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e29afae38063d44fb93f1db6ca19f7999a064e9e..de2eb0475df87b2718ea4d350c2d4293eb024698 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,6 +26,26 @@ build_meson: - meson . _build/ -Ddepdatadir=/usr/share - ninja -C _build install +build_deb: + <<: *tags + stage: build + artifacts: + paths: + - "*.deb" + script: + - apt-get -y install devscripts + - debuild -i -us -uc -b + - cp ../*.deb . + +test_lintian: + <<: *tags + stage: test + dependencies: + - build_deb + script: + - apt-get -y install lintian + - lintian *.deb + test: <<: *tags stage: test