Make Debian package
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user