[CI] Add deb package (#59)

* Add deb package to CI, #57

* Fix dependencies
This commit is contained in:
Alberto Oporto Ames 2020-09-08 10:21:07 -05:00 committed by GitHub
parent 09b918d156
commit 6b8838497b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,3 +47,38 @@ jobs:
with: with:
name: ${{ runner.os }}-package name: ${{ runner.os }}-package
path: legendary/dist/* path: legendary/dist/*
deb:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-20.04']
fail-fast: true
max-parallel: 3
steps:
- uses: actions/checkout@v2
- name: Dependencies
run: sudo apt install
python3-all
python3-stdeb
dh-python
python3-requests
python3-setuptools
python3-wheel
- name: Build
run: python3 setup.py --command-packages=stdeb.command bdist_deb
- name: Os version
id: os_version
run: |
source /etc/os-release
echo ::set-output name=version::$NAME-$VERSION_ID
- uses: actions/upload-artifact@v2
with:
name: ${{ steps.os_version.outputs.version }}-deb-package
path: deb_dist/*.deb