mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
70 lines
1.9 KiB
YAML
70 lines
1.9 KiB
YAML
.assign_test_template:
|
|
image: $TARGET_TEST_ENV_IMAGE
|
|
stage: assign_test
|
|
tags:
|
|
- assign_test
|
|
variables:
|
|
SUBMODULES_TO_FETCH: "none"
|
|
CI_TARGET_TEST_CONFIG_FILE: "$CI_PROJECT_DIR/.gitlab/ci/target-test.yml"
|
|
artifacts:
|
|
paths:
|
|
- ${TEST_DIR}/test_configs/
|
|
- artifact_index.json
|
|
when: always
|
|
expire_in: 1 week
|
|
script:
|
|
- run_cmd python tools/ci/python_packages/ttfw_idf/IDFAssignTest.py $TEST_TYPE $TEST_DIR -c $CI_TARGET_TEST_CONFIG_FILE -o $TEST_DIR/test_configs
|
|
|
|
assign_example_test:
|
|
extends:
|
|
- .assign_test_template
|
|
- .rules:build:example_test
|
|
needs:
|
|
- job: build_examples_cmake_esp32
|
|
artifacts: false
|
|
optional: true
|
|
- job: build_examples_cmake_esp32s2
|
|
artifacts: false
|
|
optional: true
|
|
- job: build_examples_cmake_esp32c2
|
|
artifacts: false
|
|
optional: true
|
|
- job: build_examples_cmake_esp32c3
|
|
artifacts: false
|
|
optional: true
|
|
- job: build_examples_cmake_esp32c6
|
|
artifacts: false
|
|
optional: true
|
|
- job: build_examples_cmake_esp32h2
|
|
artifacts: false
|
|
optional: true
|
|
- job: build_examples_cmake_esp32s3
|
|
artifacts: false
|
|
optional: true
|
|
variables:
|
|
TEST_TYPE: example_test
|
|
TEST_DIR: examples
|
|
|
|
assign_unit_test:
|
|
extends:
|
|
- .assign_test_template
|
|
- .rules:build:unit_test
|
|
needs:
|
|
- job: build_esp_idf_tests_cmake_esp32
|
|
optional: true
|
|
- job: build_esp_idf_tests_cmake_esp32s2
|
|
optional: true
|
|
- job: build_esp_idf_tests_cmake_esp32c2
|
|
optional: true
|
|
- job: build_esp_idf_tests_cmake_esp32c3
|
|
optional: true
|
|
- job: build_esp_idf_tests_cmake_esp32c6
|
|
optional: true
|
|
- job: build_esp_idf_tests_cmake_esp32h2
|
|
optional: true
|
|
- job: build_esp_idf_tests_cmake_esp32s3
|
|
optional: true
|
|
variables:
|
|
TEST_TYPE: unit_test
|
|
TEST_DIR: components/idf_test/unit_test
|