About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEric Engestrom <eric@igalia.com>2025-10-02 11:24:40 +0200
committerMarge Bot <marge-bot@fdo.invalid>2025-10-06 09:53:24 +0000
commit3f40a7d9983ace7a58f84219bfcd950c2016c6fa (patch)
tree78f05d8bf4172a040cb0feea84c55867cd62ca26 /docs
parent43eb5555df1fe5859034ca0abfdc33cb0c67f122 (diff)
docs: finish converting the docs job into a meson build job
This is required for the next job, because we'll need a login shell session to be able to use `ninja`, which the normal build jobs automatically handle, but the custom docs job we had didn't. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37490>
Diffstat (limited to 'docs')
-rw-r--r--docs/gitlab-ci-inc.yml20
1 files changed, 12 insertions, 8 deletions
diff --git a/docs/gitlab-ci-inc.yml b/docs/gitlab-ci-inc.yml
index b5058f272d5..831663a495c 100644
--- a/docs/gitlab-ci-inc.yml
+++ b/docs/gitlab-ci-inc.yml
@@ -1,18 +1,22 @@
.docs-base:
timeout: 10m
extends:
- - .build-linux
+ - .build-common
- .use-alpine/x86_64_build
artifacts:
expose_as: 'Documentation preview'
paths:
- public/
+ variables:
+ BUILDTYPE: release
+ UNWIND: disabled
+ EXTRA_OPTION:
+ --auto-features=disabled
+ -D platforms=
+ -D glx=disabled
+ -D html-docs=enabled
+ -D html-docs-path=$CI_PROJECT_DIR/public
+ RUN_MESON_TESTS: "false"
script:
- - meson setup _build -D prefix=$(pwd) --auto-features=disabled
- -D vulkan-drivers="" -D gallium-drivers="" -D platforms=[] -D glx=disabled
- -D video-codecs="" -D html-docs=enabled -D html-docs-path=public
- -D werror=true
- - meson compile -C _build
- - meson install -C _build
+ - !reference [.meson-build-only, script]
- echo "Documentation website preview is available at $ARTIFACTS_BASE_URL/public/index.html"
-