Commit 05b297c5 authored by Philip Withnall's avatar Philip Withnall
Browse files

build: Run gtkdoc-check as part of the test suite



This should prevent regressions in the documentation. It’s run on the CI
builds too.
Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
parent 6e22fe7c
Pipeline #67943 failed with stages
in 25 minutes and 1 second
......@@ -34,9 +34,6 @@ test:
- ninja -C _build coverage
coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/'
# FIXME: Run gtkdoc-check when we can. See:
# https://github.com/mesonbuild/meson/issues/3580
dist-job:
stage: build
only:
......
......@@ -21,4 +21,14 @@ gnome.gtkdoc('libglib-testing',
'--ignore-headers=' + ' '.join(['tests']),
],
install: not meson.is_subproject(),
)
\ No newline at end of file
)
gtkdoc_check = find_program('gtkdoc-check', required: true)
test('gtkdoc-check',
gtkdoc_check,
suite: ['libglib-testing', 'docs'],
env: [
'BUILDDIR=' + meson.current_build_dir(),
'DOC_MODULE=libglib-testing',
'DOC_MAIN_SGML_FILE=docs.xml',
])
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment