Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
mutter
Commits
e2f2412b
Commit
e2f2412b
authored
May 24, 2022
by
Bilal Elmoussaoui
Committed by
Bilal Elmoussaoui
May 24, 2022
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e2f2412b
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment