mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 09:02:08 +00:00
ci(test_apps): limit dependencies for misc test_apps
Only pull in direct dependencies for the test apps, reducing build time as well making it possible for CI to determine if the test should run or not when dependencies are changed.
This commit is contained in:
@@ -2,5 +2,7 @@
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
set(COMPONENTS main)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(hal_i2c)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
set(srcs "hal_i2c_main.c")
|
||||
|
||||
idf_component_register(SRCS ${srcs}
|
||||
INCLUDE_DIRS ".")
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES hal_i2c)
|
||||
|
||||
Reference in New Issue
Block a user