Commit e79da47d authored by Guido Gunther's avatar Guido Gunther Committed by Guido Gunther

ci: Split doc build to different stage

This makes it simpler to see what failed.
parent 8bdc6c91
stages:
- build
- docs
before_script:
- apt-get -y update
......@@ -18,8 +19,6 @@ build-debian-gcc:
- export LC_ALL=C.UTF-8
- meson . _build -Dgtk_doc=true -Db_coverage=true --werror
- ninja -C _build
- ninja -C _build meson-libhandy-doc 2>&1 | tee _build/doc/buildlog
- if grep -qs 'warning' _build/doc/buildlog; then exit 1; fi
- xvfb-run -s -noreset ninja -C _build test
- ninja -C _build coverage
coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/'
......@@ -78,3 +77,17 @@ build-debian-package:
stage: build
script:
- dpkg-buildpackage -uc -us
build-gtkdoc:
image: debian:buster
<<: *tags
stage: docs
dependencies:
- build-debian-gcc
script:
- ninja -C _build meson-libhandy-doc 2>&1 | tee _build/doc/buildlog
- if grep -qs 'warning' _build/doc/buildlog; then exit 1; fi
artifacts:
when: always
paths:
- _build/doc/html
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