mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 00:50:10 +01:00
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>
22 lines
571 B
YAML
22 lines
571 B
YAML
.docs-base:
|
|
timeout: 10m
|
|
extends:
|
|
- .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:
|
|
- !reference [.meson-build-only, script]
|
|
- echo "Documentation website preview is available at $ARTIFACTS_BASE_URL/public/index.html"
|