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 /.github | |
| parent | c59447faa8935124bdeebeafbcb8ba65f7fc93f0 (diff) | |
refactor build scripts to support multiple build targets and improve argument handling
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build_util.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/build_util.yml b/.github/workflows/build_util.yml index b0adec979..6863ebdf2 100644 --- a/.github/workflows/build_util.yml +++ b/.github/workflows/build_util.yml @@ -69,12 +69,11 @@ jobs: if [ "${{ inputs.toolchain }}" == "esp-idf" ]; then docker run --rm -e MEMBROWSE_API_KEY="$MEMBROWSE_API_KEY" -v $PWD:/project -w /project espressif/idf:tinyusb python tools/build.py --target all ${{ matrix.arg }} else - BUILD_PY_ARGS="-s ${{ inputs.build-system }} ${{ steps.setup-toolchain.outputs.build_option }} ${{ inputs.build-options }}" - python tools/build.py $BUILD_PY_ARGS --target all ${{ matrix.arg }} - + BUILD_PY_ARGS="-s ${{ inputs.build-system }} ${{ steps.setup-toolchain.outputs.build_option }} ${{ inputs.build-options }} --target all" if [ "${{ inputs.upload-metrics }}" = "true" ]; then - python tools/build.py $BUILD_PY_ARGS --target tinyusb_metrics ${{ matrix.arg }} + BUILD_PY_ARGS="$BUILD_PY_ARGS --target tinyusb_metrics" fi + python tools/build.py $BUILD_PY_ARGS ${{ matrix.arg }} fi shell: bash |
