diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 15201b2b05..820ace021a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -116,7 +116,7 @@ repos: name: Check tools dir files patterns entry: tools/ci/check_tools_files_patterns.py language: python - files: '^tools/.+' + files: '^(tools/.+|.gitlab/ci/rules\.yml)' additional_dependencies: - PyYAML == 5.3.1 pass_filenames: false diff --git a/tools/cmake/project.cmake b/tools/cmake/project.cmake index 118434e81d..b3da621083 100644 --- a/tools/cmake/project.cmake +++ b/tools/cmake/project.cmake @@ -504,6 +504,7 @@ function(__project_init components_var test_components_var) if(DEFINED COMPONENTS) message(WARNING "The MINIMAL_BUILD property is disregarded because the COMPONENTS variable is defined.") set(minimal_build OFF) + idf_build_set_property(MINIMAL_BUILD OFF) else() set(COMPONENTS main ${TEST_COMPONENTS}) set(minimal_build ON)