mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Merge branch 'feature/build_ssc_in_multiple_ci_jobs' into 'master'
CI: support build SSC in multiple jobs See merge request idf/esp-idf!1622 (cherry picked from commit595ddfd825
)493a9266
CI: support build SSC in multiple jobs48e3e3ef
test: change SSC binary path
This commit is contained in:
committed by
He Yin Ling
parent
4e36ede3bf
commit
e6acfedd3c
@ -109,17 +109,29 @@ build_template_app:
|
|||||||
BATCH_BUILD: "1"
|
BATCH_BUILD: "1"
|
||||||
V: "0"
|
V: "0"
|
||||||
|
|
||||||
build_ssc:
|
.build_ssc_template: &build_ssc_template
|
||||||
<<: *build_template
|
<<: *build_template
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- SSC/ssc_bin
|
- SSC/ssc_bin
|
||||||
expire_in: 6 mos
|
expire_in: 1 mos
|
||||||
|
variables:
|
||||||
|
SSC_CONFIG_FOLDER: "$CI_PROJECT_DIR/SSC/configs/ESP32_IDF"
|
||||||
script:
|
script:
|
||||||
- git clone $SSC_REPOSITORY
|
- git clone $SSC_REPOSITORY
|
||||||
- cd SSC
|
- cd SSC
|
||||||
- python $CHECKOUT_REF_SCRIPT SSC
|
- python $CHECKOUT_REF_SCRIPT SSC
|
||||||
- MAKEFLAGS= ./gen_misc_ng.sh
|
- MAKEFLAGS= ./ci_build_ssc.sh "${CI_JOB_NAME}" "${IDF_PATH}/.gitlab-ci.yml"
|
||||||
|
|
||||||
|
# don't forget to add to dependency to test_template when adding new build_ssc jobs
|
||||||
|
build_ssc_00:
|
||||||
|
<<: *build_ssc_template
|
||||||
|
|
||||||
|
build_ssc_01:
|
||||||
|
<<: *build_ssc_template
|
||||||
|
|
||||||
|
build_ssc_02:
|
||||||
|
<<: *build_ssc_template
|
||||||
|
|
||||||
build_esp_idf_tests:
|
build_esp_idf_tests:
|
||||||
<<: *build_template
|
<<: *build_template
|
||||||
@ -442,7 +454,7 @@ assign_test:
|
|||||||
EXAMPLE_CONFIG_OUTPUT_PATH: "$CI_PROJECT_DIR/examples/test_configs"
|
EXAMPLE_CONFIG_OUTPUT_PATH: "$CI_PROJECT_DIR/examples/test_configs"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- test_bins
|
- $OUTPUT_BIN_PATH
|
||||||
- components/idf_test/*/CIConfigs
|
- components/idf_test/*/CIConfigs
|
||||||
- components/idf_test/*/TC.sqlite
|
- components/idf_test/*/TC.sqlite
|
||||||
- $EXAMPLE_CONFIG_OUTPUT_PATH
|
- $EXAMPLE_CONFIG_OUTPUT_PATH
|
||||||
@ -463,7 +475,7 @@ assign_test:
|
|||||||
# assign unit test cases
|
# assign unit test cases
|
||||||
- python CIAssignTestCases.py -t $IDF_PATH/components/idf_test/unit_test -c $IDF_PATH/.gitlab-ci.yml -b $IDF_PATH/test_bins
|
- python CIAssignTestCases.py -t $IDF_PATH/components/idf_test/unit_test -c $IDF_PATH/.gitlab-ci.yml -b $IDF_PATH/test_bins
|
||||||
# assgin integration test cases
|
# assgin integration test cases
|
||||||
- python CIAssignTestCases.py -t $IDF_PATH/components/idf_test/integration_test -c $IDF_PATH/.gitlab-ci.yml -b $IDF_PATH/test_bins
|
- python CIAssignTestCases.py -t $IDF_PATH/components/idf_test/integration_test -c $IDF_PATH/.gitlab-ci.yml -b $IDF_PATH/SSC/ssc_bin
|
||||||
|
|
||||||
.example_test_template: &example_test_template
|
.example_test_template: &example_test_template
|
||||||
stage: test
|
stage: test
|
||||||
@ -504,6 +516,9 @@ assign_test:
|
|||||||
allow_failure: true
|
allow_failure: true
|
||||||
dependencies:
|
dependencies:
|
||||||
- assign_test
|
- assign_test
|
||||||
|
- build_ssc_00
|
||||||
|
- build_ssc_01
|
||||||
|
- build_ssc_02
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
BinPath:
|
BinPath:
|
||||||
path: test_bins/ESP32_IDF/SSC_BLE
|
path: SSC/ssc_bin/ESP32_IDF/SSC_BLE
|
||||||
test app: SSC_BLE
|
test app: SSC_BLE
|
||||||
|
|
||||||
DUT: [SSC1]
|
DUT: [SSC1]
|
||||||
|
Reference in New Issue
Block a user