Files
esp-idf/.gitlab-ci.yml
2026-07-15 13:59:49 +02:00

68 lines
2.4 KiB
YAML

# Place the default settings in `.gitlab/ci/common.yml` instead
include:
- project: "ci/actions/common"
ref: "v2"
file:
- "templates/stable/default-workflow.yml"
- "templates/idf/pre_check.yml"
- "templates/idf/build.yml"
- "templates/idf/deploy-github.yml"
- "templates/idf/deploy-docs.yml"
- "templates/idf/integration-test.yml"
- project: "ci/actions/common"
ref: "v2"
file: "templates/idf/sync-files.yml"
inputs:
job_name: "sync-pre-commit-config"
remote_repo_url: "https://__token__:${CI_SYNC_REPO_TOKEN}@${CI_SERVER_FQDN}/ci/images.git"
ref_name: "ci/sync_idf_pre_commit_config"
file_mappings:
- ".pre-commit-config.yaml:pre-commit/idf/.pre-commit-config.v6.2.yaml"
changes:
- ".pre-commit-config.yaml"
- project: "ci/actions/common"
ref: "v2"
file: "templates/idf/sync-files.yml"
inputs:
job_name: "sync-wifi-regulatory"
remote_repo_url: "https://__token__:${QACI_RW_TOKEN}@${CI_SERVER_FQDN}/qa/ats-n2.git"
ref_name: "ci/sync_wifi_regulatory"
file_mappings:
- "components/esp_wifi/regulatory/esp_wifi_regulatory.txt:tools/sync/esp_wifi_regulatory.txt"
changes:
- "components/esp_wifi/regulatory/esp_wifi_regulatory.txt"
- project: "ci/actions/common"
file: "templates/idf/build-docs.yml"
inputs:
full-build-matrix:
- DOCLANG: ["en", "zh_CN"]
DOCTGT: ["esp32", "esp32s2", "esp32s3", "esp32s31", "esp32c3", "esp32c2", "esp32c6", "esp32c61", "esp32c5", "esp32h2", "esp32h4", "esp32h21", "esp32p4"]
partial-build-matrix:
- DOCLANG: "en"
DOCTGT: "esp32"
- DOCLANG: "zh_CN"
DOCTGT: "esp32p4"
- ".gitlab/ci/danger.yml"
- ".gitlab/ci/common.yml" # has to be placed after danger.yml, since danger.yml defined stages.
- ".gitlab/ci/rules.yml"
# by stages
- ".gitlab/ci/manual_gate.yml"
- ".gitlab/ci/upload_cache.yml"
- ".gitlab/ci/pre_check.yml"
- ".gitlab/ci/static-code-analysis.yml"
- ".gitlab/ci/pre_commit.yml"
- ".gitlab/ci/auto_trans.yml"
- ".gitlab/ci/build.yml"
- ".gitlab/ci/host-test.yml"
- ".gitlab/ci/test-win.yml"
- ".gitlab/ci/pre_deploy.yml"
- ".gitlab/ci/deploy.yml"
- ".gitlab/ci/post_deploy.yml"
# GIT_LFS_SKIP_SMUDGE has no input slot on the sync-files component; merge it onto the
# generated job by name (component job names are "sync-<job_name>").
sync-wifi-regulatory:
variables:
GIT_LFS_SKIP_SMUDGE: 1