mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 05:10:11 +01:00
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>
This commit is contained in:
parent
43eb5555df
commit
3f40a7d998
1 changed files with 12 additions and 8 deletions
|
|
@ -1,18 +1,22 @@
|
||||||
.docs-base:
|
.docs-base:
|
||||||
timeout: 10m
|
timeout: 10m
|
||||||
extends:
|
extends:
|
||||||
- .build-linux
|
- .build-common
|
||||||
- .use-alpine/x86_64_build
|
- .use-alpine/x86_64_build
|
||||||
artifacts:
|
artifacts:
|
||||||
expose_as: 'Documentation preview'
|
expose_as: 'Documentation preview'
|
||||||
paths:
|
paths:
|
||||||
- public/
|
- 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:
|
script:
|
||||||
- meson setup _build -D prefix=$(pwd) --auto-features=disabled
|
- !reference [.meson-build-only, script]
|
||||||
-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
|
|
||||||
- echo "Documentation website preview is available at $ARTIFACTS_BASE_URL/public/index.html"
|
- echo "Documentation website preview is available at $ARTIFACTS_BASE_URL/public/index.html"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue