diff options
| author | hathach <[email protected]> | 2026-02-12 13:32:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-02-12 13:32:00 +0700 |
| commit | 8a6012b0096cb71bb4cfaaa36813de4ac5003c18 (patch) | |
| tree | c9ef13bddbb89c90d4171d78a49ea141816c53e7 /.circleci | |
| parent | c59447faa8935124bdeebeafbcb8ba65f7fc93f0 (diff) | |
refactor build scripts to support multiple build targets and improve argument handling
Diffstat (limited to '.circleci')
| -rw-r--r-- | .circleci/config2.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.circleci/config2.yml b/.circleci/config2.yml index 900994a73..a31b0a818 100644 --- a/.circleci/config2.yml +++ b/.circleci/config2.yml @@ -124,12 +124,11 @@ commands: # circleci docker return $nproc as 36 core, limit parallel to 4 (resource-class = large) # Required for IAR, also prevent crashed/killed by docker - BUILD_PY_ARGS="-s << parameters.build-system >> $TOOLCHAIN_OPTION -j 4 << parameters.build-args >>" - python tools/build.py $BUILD_PY_ARGS --target all << parameters.family >> - + BUILD_PY_ARGS="-s << parameters.build-system >> $TOOLCHAIN_OPTION -j 4 << parameters.build-args >> --target all" if [ << parameters.build-system >> == "cmake" ]; then - python tools/build.py $BUILD_PY_ARGS --target tinyusb_metrics << parameters.family >> + BUILD_PY_ARGS="$BUILD_PY_ARGS --target tinyusb_metrics" fi + python tools/build.py $BUILD_PY_ARGS << parameters.family >> fi # Only collect and persist metrics for cmake builds (excluding esp-idf and --one-random) |
