ci: Build .deb

This commit is contained in:
Dorota Czaplejewicz
2019-09-23 10:26:53 +00:00
parent 6dcea4599f
commit bb3c26b0d8

View File

@ -26,6 +26,26 @@ build_meson:
- meson . _build/ -Ddepdatadir=/usr/share - meson . _build/ -Ddepdatadir=/usr/share
- ninja -C _build install - 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: test:
<<: *tags <<: *tags
stage: test stage: test