Commit e2f2412b authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui Committed by Bilal Elmoussaoui
Browse files

CI: Build and deploy documentations

A first step towards better documentations of Mutter
and it internal libraries
parent b0a98536
Pipeline #400991 passed with stages
in 21 minutes and 41 seconds
......@@ -9,6 +9,7 @@ stages:
- build
- test
- analyze
- docs
- deploy
variables:
......@@ -485,3 +486,32 @@ dist-mutter-tarball:
- build/meson-dist/$CI_PROJECT_NAME-$CI_COMMIT_TAG.tar.xz
rules:
- if: '$CI_COMMIT_TAG'
reference:
extends:
- .fdo.distribution-image@fedora
- .mutter.fedora:35@x86_64
stage: docs
needs:
- build-fedora-container@x86_64
before_script:
- dnf install gi-docgen -y
script:
- meson . build --werror -Ddocs=true -Dtests=false
- ninja -C build
- mkdir references
- mv build/doc/reference/{cally/cally,clutter/clutter,cogl/cogl,cogl-pango/cogl-pango,meta/meta} references/
artifacts:
paths:
- references
pages:
stage: deploy
needs: ['reference']
script:
- mv references public/
artifacts:
paths:
- public
only:
- main
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