5 - apt install -y -qq build-essential meson pkg-config gtk-doc-tools
6 libxml2-utils gobject-introspection dbus dbus-x11
7 libgirepository1.0-dev libglib2.0-dev
17 MESON_TEST_TIMEOUT_MULTIPLIER: 2
22 - meson --buildtype debug --werror _build .
28 name: "dconf-_${CI_COMMIT_REF_NAME}"
35 - meson _build . -Db_coverage=true
38 - lcov --rc lcov_branch_coverage=1 --directory _build --capture --initial --output-file "_coverage/${CI_JOB_NAME}-baseline.lcov"
39 - meson test -C _build --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER}
40 - lcov --rc lcov_branch_coverage=1 --directory _build --capture --output-file "_coverage/${CI_JOB_NAME}.lcov"
41 coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/'
46 name: "dconf-_${CI_COMMIT_REF_NAME}"
51 # FIXME: Run gtkdoc-check when we can. See:
52 # https://github.com/mesonbuild/meson/issues/3580
59 - meson --buildtype release _build .
60 - ninja -C _build dist
63 - "_build/meson-dist/dconf-*.tar.xz"
70 - meson -Denable-gtk-doc=true _build .
71 - ninja -C _build dconf-doc
73 - mv _build/docs/html/ public/docs/
74 - mv _coverage/ public/coverage/