mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
55e9c353f5
esp_matter_core: Some changes for device type id. esp_matter_command: Corresponding changes for renaming of command flags. esp_matter_ota: Corresponding changes from upstream examples. zap-generated: Added a common access.h with all the clusters and other corresponding changes in endpoint_config.h. zap_light: Regenerated zap-generated with the same light.zap file.
100 lines
3.0 KiB
YAML
100 lines
3.0 KiB
YAML
stages:
|
|
- build
|
|
|
|
variables:
|
|
IDF_PATH: "$CI_PROJECT_DIR/esp-idf"
|
|
GIT_STRATEGY: fetch
|
|
GIT_SUBMODULE_STRATEGY: none
|
|
|
|
.chip_submodule_update: &chip_submodule_update
|
|
- git submodule sync --recursive
|
|
- git submodule update --recursive --init --reference /local_references/github/
|
|
|
|
.setup_idf: &setup_idf
|
|
# - cd $REPOS_PATH # IDF_PATH is set to something else already?
|
|
# using release/v4.4 branch of espressif/esp-idf github repo
|
|
- git clone --recursive -b release/v4.4 --reference-if-able /local_references/github/ https://github.com/espressif/esp-idf.git
|
|
- cd esp-idf
|
|
- ./install.sh
|
|
- . export.sh
|
|
|
|
.setup_matter: &setup_matter
|
|
- cd $ESP_MATTER_PATH
|
|
- source connectedhomeip/connectedhomeip/scripts/bootstrap.sh
|
|
- . export.sh
|
|
|
|
.build_matter_examples: &build_matter_examples
|
|
- export MATTER_EXAMPLES_PATH=$ESP_MATTER_PATH/connectedhomeip/connectedhomeip/examples
|
|
- cd $MATTER_EXAMPLES_PATH/all-clusters-app/esp32
|
|
- idf.py build
|
|
- cd $MATTER_EXAMPLES_PATH/temperature-measurement-app/esp32
|
|
- idf.py build
|
|
- cd $MATTER_EXAMPLES_PATH/lock-app/esp32
|
|
- idf.py build
|
|
- cd $MATTER_EXAMPLES_PATH/pigweed-app/esp32
|
|
- idf.py build
|
|
- cd $MATTER_EXAMPLES_PATH/persistent-storage/esp32
|
|
- idf.py build
|
|
|
|
.build_examples: &build_examples
|
|
- cd $ESP_MATTER_PATH/examples/zap_light
|
|
- idf.py set-target esp32
|
|
- idf.py build
|
|
- cd $ESP_MATTER_PATH/examples/switch
|
|
- idf.py set-target esp32
|
|
- idf.py build
|
|
- cd $ESP_MATTER_PATH/examples/light
|
|
- idf.py set-target esp32
|
|
- idf.py build
|
|
- idf.py set-target esp32c3
|
|
- idf.py build
|
|
- cd $REPOS_PATH
|
|
- git clone --recursive --single-branch -b master --reference-if-able /local_references/github/ https://github.com/espressif/esp-rainmaker.git
|
|
- export ESP_RMAKER_PATH=$PWD/esp-rainmaker
|
|
- cd $ESP_MATTER_PATH/examples/rainmaker_light
|
|
- idf.py set-target esp32
|
|
- idf.py build
|
|
|
|
.build_bridge_zigbee_app: &build_bridge_zigbee_app
|
|
- idf.py build
|
|
- cd $IDF_PATH
|
|
- git checkout 047903c612e2c7212693c0861966bf7c83430ebf
|
|
- git submodule update --init --recursive
|
|
- rm -rf $HOME/.espressif/python_env
|
|
- ./install.sh
|
|
- . ./export.sh
|
|
- cd $ESP_MATTER_PATH/examples/bridge_zigbee
|
|
- idf.py set-target esp32
|
|
- idf.py build
|
|
|
|
build_esp_matter_examples:
|
|
stage: build
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env:matter
|
|
tags:
|
|
- build
|
|
|
|
script:
|
|
- export ESP_MATTER_PATH=$PWD
|
|
- mkdir repos
|
|
- export REPOS_PATH=$PWD/repos
|
|
- *chip_submodule_update
|
|
- *setup_idf
|
|
- *setup_matter
|
|
- *build_examples
|
|
- *build_bridge_zigbee_app
|
|
|
|
build_upstream_examples:
|
|
stage: build
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env:matter
|
|
tags:
|
|
- build
|
|
when: manual
|
|
script:
|
|
- export ESP_MATTER_PATH=$PWD
|
|
- mkdir repos
|
|
- export REPOS_PATH=$PWD/repos
|
|
- *chip_submodule_update
|
|
- *setup_idf
|
|
- *setup_matter
|
|
- *build_matter_examples
|