diff --git a/tools/ci/config/build.yml b/tools/ci/config/build.yml index 1b209c7c2f..1c968b3cb5 100644 --- a/tools/ci/config/build.yml +++ b/tools/ci/config/build.yml @@ -43,7 +43,9 @@ # build-related-pre-check-jobs ------------------------------------------------ # Build at least one project for each target at earliest stage to reduce build cost for obvious failing commits fast_template_app: - extends: .build_template_app_template + extends: + - .build_template_app_template + - .rules:build_tests:target_test-weekend_test stage: pre_check variables: BUILD_COMMAND_ARGS: "-p" @@ -89,6 +91,10 @@ build_ssc_esp32s2: extends: - .build_template - .rules:build_tests:unit_test + needs: + - job: fast_template_app + artifacts: false + - scan_tests artifacts: paths: - tools/unit-test-app/output/${IDF_TARGET} @@ -132,6 +138,10 @@ build_esp_idf_tests_cmake_esp32s3: extends: - .build_template - .rules:build_tests:example_test-weekend_test + needs: + - job: fast_template_app + artifacts: false + - scan_tests variables: TEST_PREFIX: examples TEST_RELATIVE_DIR: examples @@ -168,8 +178,6 @@ build_examples_make: # same as above, but for CMake .build_examples_cmake: extends: .build_examples_template - needs: - - scan_tests artifacts: paths: - build_${TEST_PREFIX}/list.json @@ -291,6 +299,9 @@ build_docs_pdf: extends: - .build_template - .rules:build_tests:weekend_test + needs: + - job: fast_template_app + artifacts: false script: - ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh - rm -rf test_build_system @@ -390,6 +401,9 @@ build_installer: # This job builds template app with permutations of targets and optimization levels build_template_app: + needs: + - job: fast_template_app + artifacts: false extends: .build_template_app_template # Sonarqube related jobs put here for this reason: