Skip to content
Snippets Groups Projects
Commit 4e85beaa authored by Ashwin Kumar Karnad's avatar Ashwin Kumar Karnad
Browse files

add dep-package ci

parent 5de92bcb
No related branches found
No related tags found
1 merge request!22Add debian packaging ci
...@@ -3,6 +3,7 @@ image: python:latest ...@@ -3,6 +3,7 @@ image: python:latest
stages: stages:
- test-style - test-style
- test - test
- package
before_script: before_script:
- cat /etc/issue - cat /etc/issue
...@@ -52,3 +53,19 @@ typing: ...@@ -52,3 +53,19 @@ typing:
image: python:latest image: python:latest
script: script:
- make typing || /bin/true - make typing || /bin/true
# package debian package
package:
stage: package
image: debian:bullseye
script:
- export DEBEMAIL="gitlab_ci@domain.com"
- export DEBFULLNAME="Gitlab Runner"
- apt-get update && apt-get install -y build-essential python3-all python3-dev python3-venv python3-wheel python3-setuptools python3-pip
- apt-get install -y binutils lintian debhelper dh-make devscripts dh-python
- apt-get install -y fakeroot dpkg-dev
- make deb-package
artifacts:
paths:
- dist/*.deb
expire_in: 1 week
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment