Make Debian package

This commit is contained in:
Yohann D'ANELLO
2020-11-19 03:29:00 +01:00
parent 926fba1e82
commit b869331abb
7 changed files with 73 additions and 0 deletions

View File

@@ -31,3 +31,16 @@ linters:
- pip install tox
script: tox -e linters
allow_failure: true
build-deb:
image: debian:buster-slim
stage: build
before_script:
- apt-get update && apt-get -y --no-install-recommends install build-essential debmake dh-python debhelper python3-all python3-setuptools
script:
- dpkg-buildpackage
- mkdir build && cp ../*.deb build/
artifacts:
paths:
- build/*.deb
expire_in: 1 week