diff --git a/.gitlab/ci/build.yml b/.gitlab/ci/build.yml index 2dcf6f735f9..f273e4c0ff2 100644 --- a/.gitlab/ci/build.yml +++ b/.gitlab/ci/build.yml @@ -255,6 +255,24 @@ pytest_build_system: extends: .test_build_system_template parallel: 3 +pytest_buildv2_system: + extends: .test_build_system_template + parallel: 3 + script: + - ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh + - cd ${IDF_PATH}/tools/test_build_system + - run_cmd idf-ci gitlab download-known-failure-cases-file ${KNOWN_FAILURE_CASES_FILE_NAME} + - pytest + --buildv2 + --cleanup-idf-copy + --parallel-count ${CI_NODE_TOTAL:-1} + --parallel-index ${CI_NODE_INDEX:-1} + --work-dir ${CI_PROJECT_DIR}/test_build_system + --junitxml ${CI_PROJECT_DIR}/XUNIT_RESULT.xml + --ignore-result-files ${KNOWN_FAILURE_CASES_FILE_NAME} + -- + test_non_default_target.py + pytest_build_system_macos: extends: - .test_build_system_template diff --git a/.gitlab/ci/rules.yml b/.gitlab/ci/rules.yml index ba0d32658aa..df41ec41991 100644 --- a/.gitlab/ci/rules.yml +++ b/.gitlab/ci/rules.yml @@ -46,6 +46,7 @@ .patterns-build_system: &patterns-build_system - "tools/cmake/**/*" + - "tools/cmakev2/**/*" - "tools/kconfig_new/**/*" - "tools/idf.py" - "tools/idf_py_actions/**/*" diff --git a/tools/ci/exclude_check_tools_files.txt b/tools/ci/exclude_check_tools_files.txt index 94f3a45bace..5ccf75a904a 100644 --- a/tools/ci/exclude_check_tools_files.txt +++ b/tools/ci/exclude_check_tools_files.txt @@ -40,7 +40,6 @@ tools/ci/python_packages/wifi_tools.py tools/ci/sg_rules/* tools/ci/sort_yaml.py tools/ci/utils.sh -tools/cmakev2/**/* tools/eclipse-code-style.xml tools/format.sh tools/gdb_panic_server.py