mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 19:22:11 +01:00
ci: Build docs artifacts for deployment to docs.gtk.org
The actual deployment will be done by https://gitlab.gnome.org/GNOME/gtk/-/blob/docs-gtk-org/; it pulls the most recent artifact zip from glib.git. This ensures that only one project/job/branch has push access to the website. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3037
This commit is contained in:
parent
9b915507af
commit
5400094ab0
@ -127,6 +127,13 @@ fedora-x86_64:
|
||||
- lcov --config-file .lcovrc --directory _build --capture --initial --output-file "_coverage/${CI_JOB_NAME}-baseline.lcov"
|
||||
- .gitlab-ci/run-tests.sh
|
||||
- lcov --config-file .lcovrc --directory _build --capture --output-file "_coverage/${CI_JOB_NAME}.lcov"
|
||||
# Copy the built documentation to an artifact directory. The build for docs.gtk.org
|
||||
# can then pull it from there — see https://gitlab.gnome.org/GNOME/gtk/-/blob/docs-gtk-org/README.md
|
||||
- mkdir -p _reference/
|
||||
- mv _build/docs/reference/glib/glib/ _reference/glib/
|
||||
- mv _build/docs/reference/gmodule/gmodule/ _reference/gmodule/
|
||||
- mv _build/docs/reference/gobject/gobject/ _reference/gobject/
|
||||
- mv _build/docs/reference/gio/gio/ _reference/gio/
|
||||
artifacts:
|
||||
reports:
|
||||
junit:
|
||||
@ -139,16 +146,8 @@ fedora-x86_64:
|
||||
- "_build/config.h"
|
||||
- "_build/glib/glibconfig.h"
|
||||
- "_build/meson-logs"
|
||||
- "_build/docs/reference/glib/glib-undeclared.txt"
|
||||
- "_build/docs/reference/glib/glib-undocumented.txt"
|
||||
- "_build/docs/reference/glib/glib-unused.txt"
|
||||
- "_build/docs/reference/gobject/gobject-undeclared.txt"
|
||||
- "_build/docs/reference/gobject/gobject-undocumented.txt"
|
||||
- "_build/docs/reference/gobject/gobject-unused.txt"
|
||||
- "_build/docs/reference/gio/gio-undeclared.txt"
|
||||
- "_build/docs/reference/gio/gio-undocumented.txt"
|
||||
- "_build/docs/reference/gio/gio-unused.txt"
|
||||
- "_coverage"
|
||||
- "_reference"
|
||||
|
||||
debian-stable-x86_64:
|
||||
extends:
|
||||
|
Loading…
x
Reference in New Issue
Block a user