28 lines
836 B
YAML
28 lines
836 B
YAML
build_idf_examples:
|
|
stage: build
|
|
image: ${CI_DOCKER_REGISTRY}/esp-env-${DEFAULT_BUILD_DOCKER_ENV}
|
|
before_script:
|
|
- source tools/ci/utils.sh
|
|
- setup_idf
|
|
- setup_esp_sdk
|
|
- update_cmake_dependency
|
|
- pip install -r ${CI_PROJECT_DIR}/esp-zigbee-sdk/tools/ci/requirements-build.txt
|
|
artifacts:
|
|
paths:
|
|
- "**/build*/*.bin"
|
|
- "**/build*/*.map"
|
|
- "**/build*/*.elf"
|
|
- "**/build*/flasher_args.json"
|
|
- "**/build*/flash_project_args"
|
|
- "**/build*/config/sdkconfig.json"
|
|
- "**/build*/bootloader/*.bin"
|
|
- "**/build*/partition_table/*.bin"
|
|
when: always
|
|
expire_in: 3 days
|
|
variables:
|
|
IDF_VERSION: ${DEFAULT_IDF_VERSION}
|
|
script:
|
|
- cd ${IDF_PATH}
|
|
- python ${CI_PROJECT_DIR}/esp-zigbee-sdk/tools/ci/build_apps.py ./examples/zigbee
|
|
tags:
|
|
- build
|