Almost all the gitlab-ci.yml files in Mesa have their hidden jobs defined in an include file. This may have started with !25238 with the idea to simplify the re-use of hidden jobs by other projects. But we missed the .gitlab-ci directory. Signed-off-by: Sergi Blanch-Torne <sergi.blanch.torne@collabora.com> Acked-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org> Reviewed-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Valentine Burley <valentine.burley@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35427>
19 lines
575 B
YAML
19 lines
575 B
YAML
.docs-base:
|
|
timeout: 10m
|
|
extends:
|
|
- .build-linux
|
|
- .use-alpine/x86_64_build
|
|
artifacts:
|
|
expose_as: 'Documentation preview'
|
|
paths:
|
|
- public/
|
|
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
|
|
- echo "Documentation website preview is available at $ARTIFACTS_BASE_URL/public/index.html"
|
|
|