Commit 6a236d50 authored by Guido Gunther's avatar Guido Gunther

docs: Abort on warnings

There doesn't seem to be a way to make gtk-doc warnings fatal
so look for warnings in a build log.
parent e9c0acd1
......@@ -7,13 +7,15 @@ build-debian:
- librem5
before_script:
- apt-get -y update
- apt-get -y install build-essential
- apt-get -y install build-essential libgtk-3-doc
- apt-get -y build-dep .
stage: build
script:
- export LC_ALL=C.UTF-8
- meson . _build -Dgtk_doc=true
- ninja -C _build
- ninja -C _build meson-libhandy-doc
- ninja -C _build meson-libhandy-doc 2>&1 | tee _build/doc/buildlog
# Check gtk-doc did not produce any new warnings
- "! grep -qs 'warning' _build/doc/buildlog"
- xvfb-run ninja -C _build test
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