mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 10:12:38 +02:00
ci: Add missing CI tests for Ubuntu Focal / Debian Bullseye
This commit is contained in:
parent
b32f215c7c
commit
a2049349b1
1 changed files with 58 additions and 0 deletions
|
@ -217,6 +217,32 @@ jobs:
|
||||||
./dev_scripts/env.py --distro ubuntu --version 22.04 run --dev \
|
./dev_scripts/env.py --distro ubuntu --version 22.04 run --dev \
|
||||||
bash -c 'cd dangerzone; poetry run make test'
|
bash -c 'cd dangerzone; poetry run make test'
|
||||||
|
|
||||||
|
ci-ubuntu-focal:
|
||||||
|
machine:
|
||||||
|
image: ubuntu-2004:202111-01
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run: *install-podman
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Prepare cache directory
|
||||||
|
command: |
|
||||||
|
sudo mkdir -p /caches
|
||||||
|
sudo chown -R $USER:$USER /caches
|
||||||
|
- restore_cache: *restore-cache
|
||||||
|
- run: *copy-image
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Prepare Dangerzone environment
|
||||||
|
command: |
|
||||||
|
./dev_scripts/env.py --distro ubuntu --version 20.04 build-dev
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Run CI tests
|
||||||
|
command: |
|
||||||
|
./dev_scripts/env.py --distro ubuntu --version 20.04 run --dev \
|
||||||
|
bash -c 'cd dangerzone; poetry run make test'
|
||||||
|
|
||||||
ci-fedora-37:
|
ci-fedora-37:
|
||||||
machine:
|
machine:
|
||||||
image: ubuntu-2004:202111-01
|
image: ubuntu-2004:202111-01
|
||||||
|
@ -295,6 +321,32 @@ jobs:
|
||||||
./dev_scripts/env.py --distro debian --version bookworm run --dev \
|
./dev_scripts/env.py --distro debian --version bookworm run --dev \
|
||||||
bash -c 'cd dangerzone; poetry run make test'
|
bash -c 'cd dangerzone; poetry run make test'
|
||||||
|
|
||||||
|
ci-debian-bullseye:
|
||||||
|
machine:
|
||||||
|
image: ubuntu-2004:202111-01
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run: *install-podman
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Prepare cache directory
|
||||||
|
command: |
|
||||||
|
sudo mkdir -p /caches
|
||||||
|
sudo chown -R $USER:$USER /caches
|
||||||
|
- restore_cache: *restore-cache
|
||||||
|
- run: *copy-image
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Prepare Dangerzone environment
|
||||||
|
command: |
|
||||||
|
./dev_scripts/env.py --distro debian --version bullseye build-dev
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Run CI tests
|
||||||
|
command: |
|
||||||
|
./dev_scripts/env.py --distro debian --version bullseye run --dev \
|
||||||
|
bash -c 'cd dangerzone; poetry run make test'
|
||||||
|
|
||||||
build-ubuntu-kinetic:
|
build-ubuntu-kinetic:
|
||||||
docker:
|
docker:
|
||||||
- image: ubuntu:22.10
|
- image: ubuntu:22.10
|
||||||
|
@ -483,9 +535,15 @@ workflows:
|
||||||
- ci-ubuntu-jammy:
|
- ci-ubuntu-jammy:
|
||||||
requires:
|
requires:
|
||||||
- build-container-image
|
- build-container-image
|
||||||
|
- ci-ubuntu-focal:
|
||||||
|
requires:
|
||||||
|
- build-container-image
|
||||||
- ci-debian-bookworm:
|
- ci-debian-bookworm:
|
||||||
requires:
|
requires:
|
||||||
- build-container-image
|
- build-container-image
|
||||||
|
- ci-debian-bullseye:
|
||||||
|
requires:
|
||||||
|
- build-container-image
|
||||||
- ci-fedora-37:
|
- ci-fedora-37:
|
||||||
requires:
|
requires:
|
||||||
- build-container-image
|
- build-container-image
|
||||||
|
|
Loading…
Reference in a new issue