ci: Add missing dependencies

Needed for gdbus-codegen & coverage job
This commit is contained in:
Bilal Elmoussaoui 2024-01-14 15:54:13 +01:00
parent e1dc14b1d8
commit 6e14423850

View File

@ -13,9 +13,9 @@ tests:
variables: variables:
MESON_FLAGS: "-Db_coverage=true -Ddocs=false -Dvapi=false -Dintrospection=disabled" MESON_FLAGS: "-Db_coverage=true -Ddocs=false -Dvapi=false -Dintrospection=disabled"
before_script: before_script:
- sudo dnf install -y git gtk4-devel meson gcc lcov wget - sudo dnf install -y git gtk4-devel meson gcc gcovr lcov wget
qemu-system-x86 qemu-ui-dbus qemu-ui-opengl qemu-system-x86 qemu-ui-dbus qemu-ui-opengl
dbus-x11 xorg-x11-server-Xvfb dbus-x11 xorg-x11-server-Xvfb python3-packaging
script: script:
- meson setup _build - meson setup _build
- meson configure ${MESON_FLAGS} _build - meson configure ${MESON_FLAGS} _build
@ -24,7 +24,6 @@ tests:
- cd tests - cd tests
- BUILDDIR=_build dbus-run-session xvfb-run -ad ./functional.sh - BUILDDIR=_build dbus-run-session xvfb-run -ad ./functional.sh
- cd .. - cd ..
- rm -rf _build/subprojects
- ninja coverage-html -C _build - ninja coverage-html -C _build
artifacts: artifacts:
paths: paths:
@ -47,7 +46,7 @@ reference:
MESON_FLAGS: "--buildtype=release -Ddocs=true -Dintrospection=enabled" MESON_FLAGS: "--buildtype=release -Ddocs=true -Dintrospection=enabled"
before_script: before_script:
- sudo dnf install -y git gtk4-devel meson gcc - sudo dnf install -y git gtk4-devel meson gcc
gi-docgen gobject-introspection-devel vala gi-docgen gobject-introspection-devel vala python3-packaging
script: script:
- mkdir -p pfx/ - mkdir -p pfx/
- meson ${MESON_FLAGS} --prefix=${PWD}/pfx -Ddocs=true _build - meson ${MESON_FLAGS} --prefix=${PWD}/pfx -Ddocs=true _build