CI: add a debian bullseye job

This commit is contained in:
Peter Hutterer 2023-03-17 10:40:06 +10:00
parent 74ed569fe0
commit 5332124abf
2 changed files with 47 additions and 2 deletions

View file

@ -12,6 +12,7 @@ include:
- project: 'freedesktop/ci-templates'
ref: *template_sha
file:
- '/templates/debian.yml'
- '/templates/fedora.yml'
- '/templates/ci-fairy.yml'
@ -38,13 +39,15 @@ variables:
# https://wayland.freedesktop.org/libinput/doc/latest/building_libinput.html #
###############################################################################
FEDORA_PACKAGES: 'git diffutils gcc gcc-c++ pkgconf-pkg-config meson systemd-devel libxkbcommon-devel libxml2 doxygen python3-attrs python3-pytest python3-dbusmock python3-jinja2 python3-pip hugo '
DEBIAN_PACKAGES: 'git gcc g++ pkg-config meson libsystemd-dev libxkbcommon-dev libxml2 doxygen python3-attr python3-pytest python3-dbusmock python3-jinja2 python3-pip '
############################ end of package lists #############################
# these tags should be updated each time the list of packages is updated
# changing these will force rebuilding the associated image
# Note: these tags have no meaning and are not tied to a particular
# libinput version
FEDORA_TAG: '2023-03-03.0'
FEDORA_TAG: '2023-03-17.0'
DEBIAN_TAG: '2023-03-17.0'
FDO_UPSTREAM_REPO: libinput/libei
@ -173,6 +176,18 @@ fedora:37@container-prep:
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
FDO_DISTRIBUTION_EXEC: 'pip install structlog'
debian:bullseye@container-prep:
extends:
- .fdo.container-build@debian
- .policy
stage: prep
variables:
GIT_STRATEGY: none
FDO_DISTRIBUTION_VERSION: 'bullseye'
FDO_DISTRIBUTION_PACKAGES: $DEBIAN_PACKAGES
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
FDO_DISTRIBUTION_EXEC: 'pip install structlog'
#################################################################
@ -273,6 +288,17 @@ fedora:37@default-build:
needs:
- "fedora:37@container-prep"
debian:bullseye@default-build:
stage: distro
extends:
- .build@template
- .fdo.distribution-image@debian
variables:
FDO_DISTRIBUTION_VERSION: 'bullseye'
FDO_DISTRIBUTION_TAG: $DEBIAN_TAG
needs:
- "debian:bullseye@container-prep"
pages:
stage: deploy

View file

@ -3,7 +3,7 @@
#
# We're happy to rebuild all containers when one changes.
.default_tag: &default_tag '2023-03-03.0'
.default_tag: &default_tag '2023-03-17.0'
distributions:
- name: fedora
@ -28,6 +28,25 @@ distributions:
- python3-jinja2
- python3-pip
- hugo # for documentation only
- name: debian
tag: *default_tag
versions:
- 'bullseye'
packages:
- git
- gcc
- g++
- pkg-config
- meson
- libsystemd-dev
- libxkbcommon-dev
- libxml2
- doxygen
- python3-attr
- python3-pytest
- python3-dbusmock
- python3-jinja2
- python3-pip
pages:
distro: fedora