ci: separate hidden jobs to -inc yml files
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>
This commit is contained in:
committed by
Marge Bot
parent
ff6925c34b
commit
6ba1b61395
@@ -0,0 +1,18 @@
|
||||
.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"
|
||||
|
||||
+2
-17
@@ -1,20 +1,5 @@
|
||||
.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"
|
||||
include:
|
||||
- local: 'docs/gitlab-ci-inc.yml'
|
||||
|
||||
deploy-docs:
|
||||
extends: .docs-base
|
||||
|
||||
Reference in New Issue
Block a user