Commit 956a52ea authored by Federico Mena Quintero's avatar Federico Mena Quintero
Browse files

CI: build the reference docs

parent 5460e280
Pipeline #401139 failed
......@@ -168,14 +168,31 @@ coverage:
- "_build/meson-logs"
- public
reference:
stage: docs
extends:
- '.only-default'
- '.container.opensuse@x86_64'
- '.fdo.distribution-image@opensuse'
needs: ['opensuse-container@x86_64']
variables:
MESON_EXTRA_FLAGS: "--buildtype=release -Ddocs=true"
script:
- meson setup ${MESON_EXTRA_FLAGS} --prefix /usr _build .
- ninja -C _build libatspi-doc atk-doc # target names generated by meson's gnome.gtkdoc function
- mv _build/docs/html _reference
artifacts:
paths:
- _reference
# Publish the test coverage report
pages:
stage: deploy
needs: [ coverage ]
needs: [ coverage, reference ]
script:
- echo # dummy - contents were generated in another job
- mv _reference/ public/
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
only:
- master
Supports Markdown
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