mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'feature/ci_minor_fixes' into 'master'
ci minor fixes See merge request !707
This commit is contained in:
commit
6f0a9f76cd
@ -29,7 +29,6 @@ build_template_app:
|
|||||||
- build
|
- build
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
SDK_PATH: "$CI_PROJECT_DIR"
|
|
||||||
IDF_PATH: "$CI_PROJECT_DIR"
|
IDF_PATH: "$CI_PROJECT_DIR"
|
||||||
GIT_STRATEGY: clone
|
GIT_STRATEGY: clone
|
||||||
BATCH_BUILD: "1"
|
BATCH_BUILD: "1"
|
||||||
@ -54,14 +53,13 @@ build_template_app:
|
|||||||
- test $(xtensa-esp32-elf-nm *.a | grep -w ets_printf | wc -l) -eq 0
|
- test $(xtensa-esp32-elf-nm *.a | grep -w ets_printf | wc -l) -eq 0
|
||||||
|
|
||||||
|
|
||||||
.build_gitlab: &build_template
|
.build_template: &build_template
|
||||||
stage: build
|
stage: build
|
||||||
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
||||||
tags:
|
tags:
|
||||||
- build
|
- build
|
||||||
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
SDK_PATH: "$CI_PROJECT_DIR"
|
|
||||||
IDF_PATH: "$CI_PROJECT_DIR"
|
IDF_PATH: "$CI_PROJECT_DIR"
|
||||||
GIT_STRATEGY: clone
|
GIT_STRATEGY: clone
|
||||||
BATCH_BUILD: "1"
|
BATCH_BUILD: "1"
|
||||||
@ -176,18 +174,18 @@ test_build_system:
|
|||||||
test_report:
|
test_report:
|
||||||
stage: test_report
|
stage: test_report
|
||||||
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
||||||
|
tags:
|
||||||
|
- report
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- triggers
|
- triggers
|
||||||
- /^release\/v/
|
- /^release\/v/
|
||||||
- /^v\d+\.\d+(\.\d+)?($|-)/
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
||||||
tags:
|
|
||||||
- report
|
|
||||||
variables:
|
variables:
|
||||||
LOG_PATH: "$CI_PROJECT_DIR/$CI_BUILD_REF"
|
LOG_PATH: "$CI_PROJECT_DIR/$CI_BUILD_REF"
|
||||||
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test"
|
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test"
|
||||||
REPORT_PATH: "$CI_PROJECT_DIR/CI_Test_Report"
|
REPORT_PATH: "$CI_PROJECT_DIR/CI_Test_Report"
|
||||||
MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/tools/unit-test-app/ModuleDefinition.yml"
|
MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/tools/unit-test-app/tools/ModuleDefinition.yml"
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
@ -228,14 +226,14 @@ push_master_to_github:
|
|||||||
before_script:
|
before_script:
|
||||||
- echo "Not setting up GitLab key, not fetching submodules"
|
- echo "Not setting up GitLab key, not fetching submodules"
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
||||||
|
tags:
|
||||||
|
- deploy
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- /^release\/v/
|
- /^release\/v/
|
||||||
- /^v\d+\.\d+(\.\d+)?($|-)/
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
||||||
tags:
|
|
||||||
- deploy
|
|
||||||
when: on_success
|
when: on_success
|
||||||
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: clone
|
GIT_STRATEGY: clone
|
||||||
GITHUB_PUSH_REFS: refs/remotes/origin/release refs/remotes/origin/master
|
GITHUB_PUSH_REFS: refs/remotes/origin/release refs/remotes/origin/master
|
||||||
@ -261,14 +259,14 @@ deploy_docs:
|
|||||||
before_script:
|
before_script:
|
||||||
- echo "Not setting up GitLab key, not fetching submodules"
|
- echo "Not setting up GitLab key, not fetching submodules"
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
||||||
|
tags:
|
||||||
|
- deploy
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- /^release\/v/
|
- /^release\/v/
|
||||||
- /^v\d+\.\d+(\.\d+)?($|-)/
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
||||||
- triggers
|
- triggers
|
||||||
tags:
|
|
||||||
- deploy
|
|
||||||
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
|
||||||
script:
|
script:
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
@ -319,7 +317,6 @@ check_commit_msg:
|
|||||||
# commit start with "WIP: " need to be squashed before merge
|
# commit start with "WIP: " need to be squashed before merge
|
||||||
- 'git log --pretty=%s master..${CI_BUILD_REF_NAME} | grep "^WIP: " || exit 0 && exit 1'
|
- 'git log --pretty=%s master..${CI_BUILD_REF_NAME} | grep "^WIP: " || exit 0 && exit 1'
|
||||||
|
|
||||||
# AUTO GENERATED PART START, DO NOT MODIFY CONTENT BELOW
|
|
||||||
# template for test jobs
|
# template for test jobs
|
||||||
.test_template: &test_template
|
.test_template: &test_template
|
||||||
stage: test
|
stage: test
|
||||||
@ -339,7 +336,7 @@ check_commit_msg:
|
|||||||
# append test level folder to TEST_CASE_FILE_PATH in before_script of test job
|
# append test level folder to TEST_CASE_FILE_PATH in before_script of test job
|
||||||
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test/integration_test"
|
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test/integration_test"
|
||||||
# jobs MUST set CONFIG_FILE in before_script, and overwrite the variables above if necessary
|
# jobs MUST set CONFIG_FILE in before_script, and overwrite the variables above if necessary
|
||||||
MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/components/idf_test/unit_test/ModuleDefinition.yml"
|
MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/tools/unit-test-app/tools/ModuleDefinition.yml"
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
|
@ -8,8 +8,6 @@ COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-a
|
|||||||
|
|
||||||
COMPONENT_SRCDIRS := . test_vectors
|
COMPONENT_SRCDIRS := . test_vectors
|
||||||
|
|
||||||
include $(IDF_PATH)/make/component_common.mk
|
|
||||||
|
|
||||||
test_tjpgd.o: test_tjpgd_logo.h
|
test_tjpgd.o: test_tjpgd_logo.h
|
||||||
|
|
||||||
test_tjpgd_logo.h: $(COMPONENT_PATH)/logo.jpg
|
test_tjpgd_logo.h: $(COMPONENT_PATH)/logo.jpg
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
#
|
|
||||||
# Component Makefile
|
|
||||||
#
|
|
||||||
# This Makefile should, at the very least, just include $(SDK_PATH)/Makefile. By default,
|
|
||||||
# this will take the sources in this directory, compile them and link them into
|
|
||||||
# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
|
|
||||||
# please read the SDK documents if you need to do this.
|
|
||||||
#
|
|
||||||
COMPONENT_ADD_INCLUDEDIRS := port/include include
|
|
||||||
|
|
||||||
COMPONENT_SRCDIRS := library port
|
|
||||||
|
|
||||||
#EXTRA_CFLAGS += -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"'
|
|
||||||
|
|
||||||
EXTRA_CFLAGS := -Wno-error=address -Waddress -DHAVE_CONFIG_H
|
|
||||||
|
|
||||||
include $(IDF_PATH)/make/component.mk
|
|
@ -1,8 +1,4 @@
|
|||||||
#
|
#
|
||||||
# Main Makefile. This is basically the same as a component makefile.
|
# "main" pseudo-component makefile.
|
||||||
#
|
|
||||||
# This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default,
|
|
||||||
# this will take the sources in the src/ directory, compile them and link them into
|
|
||||||
# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
|
|
||||||
# please read the ESP-IDF documents if you need to do this.
|
|
||||||
#
|
#
|
||||||
|
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
#
|
#
|
||||||
# Main Makefile. This is basically the same as a component makefile.
|
# "main" pseudo-component makefile.
|
||||||
#
|
#
|
||||||
# This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default,
|
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
|
||||||
# this will take the sources in the src/ directory, compile them and link them into
|
|
||||||
# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
|
|
||||||
# please read the ESP-IDF documents if you need to do this.
|
|
||||||
#
|
|
||||||
|
|
||||||
#include $(IDF_PATH)/make/component_common.mk
|
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
#
|
#
|
||||||
# Main Makefile. This is basically the same as a component makefile.
|
# "main" pseudo-component makefile.
|
||||||
#
|
|
||||||
# This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default,
|
|
||||||
# this will take the sources in the src/ directory, compile them and link them into
|
|
||||||
# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
|
|
||||||
# please read the ESP-IDF documents if you need to do this.
|
|
||||||
#
|
#
|
||||||
|
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
#
|
#
|
||||||
# Main Makefile. This is basically the same as a component makefile.
|
# "main" pseudo-component makefile.
|
||||||
#
|
|
||||||
# This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default,
|
|
||||||
# this will take the sources in the src/ directory, compile them and link them into
|
|
||||||
# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
|
|
||||||
# please read the ESP-IDF documents if you need to do this.
|
|
||||||
#
|
#
|
||||||
|
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Main Makefile. This is basically the same as a component makefile.
|
# "main" pseudo-component makefile.
|
||||||
#
|
|
||||||
# This Makefile should, at the very least, just include $(SDK_PATH)/make/component.mk. By default,
|
|
||||||
# this will take the sources in the src/ directory, compile them and link them into
|
|
||||||
# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
|
|
||||||
# please read the SDK documents if you need to do this.
|
|
||||||
#
|
#
|
||||||
|
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
|
||||||
|
|
||||||
COMPONENT_ADD_INCLUDEDIRS := .
|
COMPONENT_ADD_INCLUDEDIRS := .
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# (Note that we only rebuild this makefile automatically for some
|
# (Note that we only rebuild this makefile automatically for some
|
||||||
# targets, see project_config.mk for details.)
|
# targets, see project_config.mk for details.)
|
||||||
SDKCONFIG_MAKEFILE ?= $(abspath $(BUILD_DIR_BASE)/include/config/auto.conf)
|
SDKCONFIG_MAKEFILE ?= $(abspath $(BUILD_DIR_BASE)/include/config/auto.conf)
|
||||||
include $(SDKCONFIG_MAKEFILE)
|
-include $(SDKCONFIG_MAKEFILE)
|
||||||
export SDKCONFIG_MAKEFILE # sub-makes (like bootloader) will reuse this path
|
export SDKCONFIG_MAKEFILE # sub-makes (like bootloader) will reuse this path
|
||||||
|
|
||||||
# BATCH_BUILD flag disables interactive terminal features, defaults to verbose build
|
# BATCH_BUILD flag disables interactive terminal features, defaults to verbose build
|
||||||
|
Loading…
Reference in New Issue
Block a user