ci: move doc build jobs into build_doc stage to run in parallel

This commit is contained in:
Fu Hanxi 2021-02-09 12:51:28 +08:00
parent fea3939980
commit 611fe8794b
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@ stages:
- pre_check - pre_check
- build - build
- assign_test - assign_test
- build_doc
- host_test - host_test
- target_test - target_test
- test_deploy - test_deploy

View File

@ -40,12 +40,13 @@ check_docs_gh_links:
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 3.6.10 pip install -r requirements.txt - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 3.6.10 pip install -r requirements.txt
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 3.6.10 ./build_docs.py gh-linkcheck - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 3.6.10 ./build_docs.py gh-linkcheck
# stage: build # stage: build_doc
# Add this stage to let the build_docs job run in parallel with build
.build_docs_build_stage_template: .build_docs_build_stage_template:
extends: extends:
- .build_docs_template - .build_docs_template
- .rules:build:docs - .rules:build:docs
stage: build stage: build_doc
needs: needs:
- job: check_docs_lang_sync - job: check_docs_lang_sync
artifacts: false artifacts: false