mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 10:12:38 +02:00
Make convert-test-docs use the same docker image as everything else
This commit is contained in:
parent
3dfefc3e39
commit
a6770865c5
1 changed files with 17 additions and 6 deletions
|
@ -102,12 +102,21 @@ jobs:
|
||||||
machine:
|
machine:
|
||||||
image: ubuntu-2004:202111-01
|
image: ubuntu-2004:202111-01
|
||||||
steps:
|
steps:
|
||||||
- run: *install-dependencies-deb
|
|
||||||
- checkout
|
|
||||||
- run:
|
- run:
|
||||||
name: Build image with podman
|
name: Install dependencies as root
|
||||||
command: ./install/linux/build-image.sh
|
command: |
|
||||||
- run: *build-deb
|
export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y git ssh podman python-all dh-python python3 python3-stdeb python3-pyside2.qtcore python3-pyside2.qtgui python3-pyside2.qtwidgets python3-appdirs python3-click python3-xdg python3-requests python3-colorama
|
||||||
|
- checkout
|
||||||
|
- restore_cache: *restore-cache
|
||||||
|
- run: *copy-image
|
||||||
|
- run:
|
||||||
|
name: Build the .deb package and install it as root
|
||||||
|
command: |
|
||||||
|
./install/linux/build-deb.py
|
||||||
|
sudo dpkg -i deb_dist/dangerzone_*-1_all.deb
|
||||||
|
ls -lh deb_dist/dangerzone_*-1_all.deb
|
||||||
- run:
|
- run:
|
||||||
name: Convert each test document
|
name: Convert each test document
|
||||||
command: |
|
command: |
|
||||||
|
@ -338,7 +347,9 @@ workflows:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
jobs:
|
jobs:
|
||||||
- convert-test-docs
|
- build-container-image
|
||||||
|
- convert-test-docs:
|
||||||
|
requires:
|
||||||
- build-container-image
|
- build-container-image
|
||||||
- build-ubuntu-impish:
|
- build-ubuntu-impish:
|
||||||
requires:
|
requires:
|
||||||
|
|
Loading…
Reference in a new issue