summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-12-03 11:09:41 +0700
committerhathach <[email protected]>2025-12-03 23:04:49 +0700
commitf51ca33f25841147e93c72458c927261806cdc0e (patch)
tree7882c1ebe7d468512a3d7d770000474d7d01af0e /examples
parentee3d3e3551f95757b85de1c2c9777a1daed8f78d (diff)
upload metrics.json and aggregate code metrics, post metrics comment
fine tune ci matrix run
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 694681467..b34131c2b 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -20,9 +20,9 @@ endforeach ()
# Post-build: run metrics.py on all map.json files
find_package(Python3 REQUIRED COMPONENTS Interpreter)
-add_custom_target(tinyusb_examples_metrics
+add_custom_target(tinyusb_metrics
COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/../tools/metrics.py
- -f tinyusb/src -j -o ${CMAKE_BINARY_DIR}/metrics
+ combine -f tinyusb/src -j -o ${CMAKE_BINARY_DIR}/metrics
${MAPJSON_PATTERNS}
COMMENT "Generating average code size metrics"
VERBATIM