mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
gitlab-ci: re-organize packaging pipeline
Move the macOS package build job into the `build` stage. Since it depends on the sphinx doc package job, add a preceding `prep` stage.
This commit is contained in:
+16
-14
@@ -12,9 +12,9 @@ include:
|
||||
- local: .gitlab/upload.yml
|
||||
|
||||
stages:
|
||||
- prep
|
||||
- build
|
||||
- test
|
||||
- package
|
||||
- test-ext
|
||||
- upload
|
||||
|
||||
@@ -34,6 +34,16 @@ stages:
|
||||
# - dependency/needs jobs for required jobs
|
||||
################################################################################
|
||||
|
||||
# Prep jobs
|
||||
|
||||
prep:doc:
|
||||
extends:
|
||||
- .fedora31_sphinx_package
|
||||
- .cmake_prep_doc_linux
|
||||
- .linux_builder_tags_qt
|
||||
- .cmake_doc_artifacts
|
||||
- .run_only_for_package
|
||||
|
||||
# Lint builds
|
||||
|
||||
build:debian10-iwyu:
|
||||
@@ -57,14 +67,6 @@ build:fedora31-sphinx:
|
||||
- .linux_builder_tags_qt
|
||||
- .run_automatically
|
||||
|
||||
build:fedora31-sphinx-package:
|
||||
extends:
|
||||
- .fedora31_sphinx_package
|
||||
- .cmake_build_linux
|
||||
- .linux_builder_tags_qt
|
||||
- .cmake_doc_artifacts
|
||||
- .run_only_for_package
|
||||
|
||||
# Linux builds
|
||||
|
||||
build:centos6-release:
|
||||
@@ -180,7 +182,7 @@ test:macos-xcode:
|
||||
needs:
|
||||
- test:macos-ninja
|
||||
|
||||
package:macos:
|
||||
build:macos-package:
|
||||
extends:
|
||||
- .macos_package
|
||||
- .cmake_build_macos_package
|
||||
@@ -188,18 +190,18 @@ package:macos:
|
||||
- .macos_builder_tags_package
|
||||
- .run_only_for_package
|
||||
dependencies:
|
||||
- build:fedora31-sphinx-package
|
||||
- prep:doc
|
||||
needs:
|
||||
- build:fedora31-sphinx-package
|
||||
- prep:doc
|
||||
|
||||
upload:macos:
|
||||
extends:
|
||||
- .rsync_upload
|
||||
- .run_only_for_package
|
||||
dependencies:
|
||||
- package:macos
|
||||
- build:macos-package
|
||||
needs:
|
||||
- package:macos
|
||||
- build:macos-package
|
||||
variables:
|
||||
RSYNC_DESTINATION: dev
|
||||
|
||||
|
||||
Reference in New Issue
Block a user