Merge branch 'test_deb' into 'master'

ci: Build .deb

Closes #108

See merge request Librem5/squeekboard!169
This commit is contained in:
Guido Gunther
2019-09-23 13:35:53 +00:00

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