ci: install.sh --enable-docs when job name contains docs

This commit is contained in:
Fu Hanxi
2026-03-17 21:26:46 +08:00
parent fe2cc0a64c
commit 2d7542bcc4

View File

@@ -143,7 +143,7 @@ variables:
if [[ "${CI_JOB_STAGE}" != "target_test" ]]; then
section_start "running_install_sh" "Running install.sh"
if [[ "${CI_JOB_STAGE}" == "build_doc" ]]; then
if [[ "${CI_JOB_STAGE}" == "build_doc" || "${CI_JOB_GROUP_NAME}" == *docs* ]]; then
run_cmd bash install.sh --enable-ci --enable-docs
elif [[ "${CI_JOB_STAGE}" == "build" ]]; then
run_cmd bash install.sh --enable-ci