mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Merge pull request #79 from firstlookmedia/ubuntu-20.04
Make ubuntu 20.04 package in CI
This commit is contained in:
commit
88864e813d
1 changed files with 30 additions and 0 deletions
|
@ -74,6 +74,30 @@ jobs:
|
||||||
package_cloud push firstlookmedia/code/ubuntu/eoan deb_dist/dangerzone_${VERSION}-1_all.deb
|
package_cloud push firstlookmedia/code/ubuntu/eoan deb_dist/dangerzone_${VERSION}-1_all.deb
|
||||||
package_cloud push firstlookmedia/code/ubuntu/eoan deb_dist/dangerzone_${VERSION}-1.dsc
|
package_cloud push firstlookmedia/code/ubuntu/eoan deb_dist/dangerzone_${VERSION}-1.dsc
|
||||||
|
|
||||||
|
build-ubuntu-focal:
|
||||||
|
docker:
|
||||||
|
- image: ubuntu:20.04
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
name: Install dependencies
|
||||||
|
command: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y git ssh ruby-dev rubygems python-all dh-python python3-stdeb docker.io python3 python3-pyqt5 python3-appdirs python3-click python3-xdg
|
||||||
|
gem install --no-ri --no-rdoc rake
|
||||||
|
gem install --no-ri --no-rdoc package_cloud
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: Create the .deb package
|
||||||
|
command: |
|
||||||
|
./install/linux/build_deb.py
|
||||||
|
dpkg -i deb_dist/dangerzone_*-1_all.deb
|
||||||
|
- run:
|
||||||
|
name: Deploy to packagecloud.io
|
||||||
|
command: |
|
||||||
|
VERSION=$(cat dangerzone/__init__.py |grep "dangerzone_version = " |cut -d '"' -f2)
|
||||||
|
package_cloud push firstlookmedia/code/ubuntu/focal deb_dist/dangerzone_${VERSION}-1_all.deb
|
||||||
|
package_cloud push firstlookmedia/code/ubuntu/focal deb_dist/dangerzone_${VERSION}-1.dsc
|
||||||
|
|
||||||
build-debian-buster:
|
build-debian-buster:
|
||||||
docker:
|
docker:
|
||||||
- image: debian:buster
|
- image: debian:buster
|
||||||
|
@ -188,6 +212,12 @@ workflows:
|
||||||
only: /^v.*/
|
only: /^v.*/
|
||||||
branches:
|
branches:
|
||||||
ignore: /.*/
|
ignore: /.*/
|
||||||
|
- build-ubuntu-focal:
|
||||||
|
filters:
|
||||||
|
tags:
|
||||||
|
only: /^v.*/
|
||||||
|
branches:
|
||||||
|
ignore: /.*/
|
||||||
- build-debian-buster:
|
- build-debian-buster:
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in a new issue