mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 21:54:33 +02:00
Merge branch 'fix/host_test_with_brew_runners' into 'master'
ci: use brew runners by default for host test jobs See merge request espressif/esp-idf!22059
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
image: $ESP_ENV_IMAGE
|
image: $ESP_ENV_IMAGE
|
||||||
tags:
|
tags:
|
||||||
- build
|
- build
|
||||||
|
# build only on shiny servers since shiny storage server is at the same location
|
||||||
|
- shiny
|
||||||
variables:
|
variables:
|
||||||
# Enable ccache for all build jobs. See configure_ci_environment.sh for more ccache related settings.
|
# Enable ccache for all build jobs. See configure_ci_environment.sh for more ccache related settings.
|
||||||
IDF_CCACHE_ENABLE: "1"
|
IDF_CCACHE_ENABLE: "1"
|
||||||
@@ -19,10 +21,6 @@
|
|||||||
needs:
|
needs:
|
||||||
- job: fast_template_app
|
- job: fast_template_app
|
||||||
artifacts: false
|
artifacts: false
|
||||||
tags:
|
|
||||||
- build
|
|
||||||
# build only on shiny servers since shiny storage server is at the same location
|
|
||||||
- shiny
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "**/build*/size.json"
|
- "**/build*/size.json"
|
||||||
|
@@ -36,8 +36,6 @@ test_nvs_coverage:
|
|||||||
|
|
||||||
test_partition_table_on_host:
|
test_partition_table_on_host:
|
||||||
extends: .host_test_template
|
extends: .host_test_template
|
||||||
tags:
|
|
||||||
- build
|
|
||||||
script:
|
script:
|
||||||
- cd components/partition_table/test_gen_esp32part_host
|
- cd components/partition_table/test_gen_esp32part_host
|
||||||
- ./gen_esp32part_tests.py
|
- ./gen_esp32part_tests.py
|
||||||
@@ -144,8 +142,6 @@ test_multi_heap_on_host:
|
|||||||
|
|
||||||
test_certificate_bundle_on_host:
|
test_certificate_bundle_on_host:
|
||||||
extends: .host_test_template
|
extends: .host_test_template
|
||||||
tags:
|
|
||||||
- build
|
|
||||||
script:
|
script:
|
||||||
- cd components/mbedtls/esp_crt_bundle/test_gen_crt_bundle/
|
- cd components/mbedtls/esp_crt_bundle/test_gen_crt_bundle/
|
||||||
- ./test_gen_crt_bundle.py
|
- ./test_gen_crt_bundle.py
|
||||||
|
@@ -58,8 +58,6 @@ test_check_kconfigs:
|
|||||||
|
|
||||||
check_blobs:
|
check_blobs:
|
||||||
extends: .pre_check_template
|
extends: .pre_check_template
|
||||||
tags:
|
|
||||||
- build
|
|
||||||
variables:
|
variables:
|
||||||
SUBMODULES_TO_FETCH: "components/esp_wifi/lib;components/esp_phy/lib"
|
SUBMODULES_TO_FETCH: "components/esp_wifi/lib;components/esp_phy/lib"
|
||||||
script:
|
script:
|
||||||
@@ -84,8 +82,6 @@ check_public_headers:
|
|||||||
extends:
|
extends:
|
||||||
- .pre_check_template
|
- .pre_check_template
|
||||||
- .rules:build
|
- .rules:build
|
||||||
tags:
|
|
||||||
- build
|
|
||||||
script:
|
script:
|
||||||
- IDF_TARGET=esp32 python tools/ci/check_public_headers.py --jobs 4 --prefix xtensa-esp32-elf-
|
- IDF_TARGET=esp32 python tools/ci/check_public_headers.py --jobs 4 --prefix xtensa-esp32-elf-
|
||||||
- IDF_TARGET=esp32s2 python tools/ci/check_public_headers.py --jobs 4 --prefix xtensa-esp32s2-elf-
|
- IDF_TARGET=esp32s2 python tools/ci/check_public_headers.py --jobs 4 --prefix xtensa-esp32s2-elf-
|
||||||
@@ -99,8 +95,6 @@ check_chip_support_components:
|
|||||||
extends:
|
extends:
|
||||||
- .pre_check_template
|
- .pre_check_template
|
||||||
- .rules:build
|
- .rules:build
|
||||||
tags:
|
|
||||||
- build
|
|
||||||
artifacts:
|
artifacts:
|
||||||
when: on_failure
|
when: on_failure
|
||||||
paths:
|
paths:
|
||||||
@@ -116,8 +110,6 @@ check_esp_err_to_name:
|
|||||||
extends:
|
extends:
|
||||||
- .pre_check_template
|
- .pre_check_template
|
||||||
- .rules:build
|
- .rules:build
|
||||||
tags:
|
|
||||||
- build
|
|
||||||
artifacts:
|
artifacts:
|
||||||
when: on_failure
|
when: on_failure
|
||||||
paths:
|
paths:
|
||||||
@@ -132,8 +124,6 @@ check_esp_system:
|
|||||||
extends:
|
extends:
|
||||||
- .pre_check_template
|
- .pre_check_template
|
||||||
- .rules:build
|
- .rules:build
|
||||||
tags:
|
|
||||||
- build
|
|
||||||
script:
|
script:
|
||||||
- python components/esp_system/check_system_init_priorities.py
|
- python components/esp_system/check_system_init_priorities.py
|
||||||
|
|
||||||
|
@@ -59,6 +59,7 @@ check_pylint:
|
|||||||
# sonarqube server ASAP, in order to avoid reporting unrelated code issues
|
# sonarqube server ASAP, in order to avoid reporting unrelated code issues
|
||||||
.sonar_scan_template:
|
.sonar_scan_template:
|
||||||
stage: build
|
stage: build
|
||||||
|
extends: .pre_check_template
|
||||||
image:
|
image:
|
||||||
name: $SONARQUBE_SCANNER_IMAGE
|
name: $SONARQUBE_SCANNER_IMAGE
|
||||||
before_script:
|
before_script:
|
||||||
@@ -72,7 +73,6 @@ check_pylint:
|
|||||||
# Exclude the report dir as well
|
# Exclude the report dir as well
|
||||||
- export EXCLUSIONS="$custom_excludes,$submodules"
|
- export EXCLUSIONS="$custom_excludes,$submodules"
|
||||||
- export SONAR_SCANNER_OPTS="-Xmx2048m"
|
- export SONAR_SCANNER_OPTS="-Xmx2048m"
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GIT_DEPTH: 0
|
GIT_DEPTH: 0
|
||||||
REPORT_PATTERN: clang_tidy_reports/*.txt
|
REPORT_PATTERN: clang_tidy_reports/*.txt
|
||||||
@@ -81,8 +81,6 @@ check_pylint:
|
|||||||
paths:
|
paths:
|
||||||
- $REPORT_PATTERN
|
- $REPORT_PATTERN
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
tags:
|
|
||||||
- host_test
|
|
||||||
dependencies: # Here is not a hard dependency relationship, could be skipped when only python files changed. so we do not use "needs" here.
|
dependencies: # Here is not a hard dependency relationship, could be skipped when only python files changed. so we do not use "needs" here.
|
||||||
- clang_tidy_check
|
- clang_tidy_check
|
||||||
- check_pylint
|
- check_pylint
|
||||||
|
Reference in New Issue
Block a user