Skip to content

Commit

Permalink
Do a rm -rf out after each mbed build, to save storage (#27444)
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 authored and pull[bot] committed Nov 18, 2023
1 parent 2de9d8b commit 1142023
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/examples-mbed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
mbed $APP_TARGET+$APP_PROFILE lock-app \
examples/lock-app/mbed/build-CY8CPROTO_062_4343W/release/chip-mbed-lock-app-example.elf \
/tmp/bloat_reports/
rm -rf ./out
- name: Build lighting-app example
if: github.event_name == 'push' || steps.changed_paths.outputs.mbed == 'true'
Expand All @@ -118,6 +119,7 @@ jobs:
mbed $APP_TARGET+$APP_PROFILE lighting-app \
examples/lighting-app/mbed/build-CY8CPROTO_062_4343W/release/chip-mbed-lighting-app-example.elf \
/tmp/bloat_reports/
rm -rf ./out
- name: Build pigweed-app example
if: github.event_name == 'push' || steps.changed_paths.outputs.pigweedapp == 'true'
Expand All @@ -128,6 +130,7 @@ jobs:
mbed $APP_TARGET+$APP_PROFILE pigweed-app \
examples/pigweed-app/mbed/build-CY8CPROTO_062_4343W/release/chip-mbed-pigweed-app-example.elf \
/tmp/bloat_reports/
rm -rf ./out
- name: Build all-clusters-app example
if: github.event_name == 'push' || steps.changed_paths.outputs.mbed == 'true'
Expand All @@ -138,6 +141,7 @@ jobs:
mbed $APP_TARGET+$APP_PROFILE all-clusters-app \
examples/all-clusters-app/mbed/build-CY8CPROTO_062_4343W/release/chip-mbed-all-clusters-app-example.elf \
/tmp/bloat_reports/
rm -rf ./out
- name: Build all-clusters-minimal-app example
if: github.event_name == 'push' || steps.changed_paths.outputs.mbed == 'true'
Expand All @@ -148,6 +152,7 @@ jobs:
mbed $APP_TARGET+$APP_PROFILE all-clusters-minimal-app \
examples/all-clusters-minimal-app/mbed/build-CY8CPROTO_062_4343W/release/chip-mbed-all-clusters-minimal-app-example.elf \
/tmp/bloat_reports/
rm -rf ./out
- name: Build shell example
if: github.event_name == 'push' || steps.changed_paths.outputs.mbed == 'true'
Expand All @@ -158,6 +163,7 @@ jobs:
mbed $APP_TARGET+$APP_PROFILE shell \
examples/shell/mbed/build-CY8CPROTO_062_4343W/release/chip-mbed-shell-example.elf \
/tmp/bloat_reports/
rm -rf ./out
- name: Build ota-requestor-app example
if: github.event_name == 'push' || steps.changed_paths.outputs.mbed == 'true'
Expand All @@ -168,6 +174,7 @@ jobs:
mbed $APP_TARGET+$APP_PROFILE shell \
examples/ota-requestor-app/mbed/build-CY8CPROTO_062_4343W/release/chip-mbed-ota-requestor-app-example.elf \
/tmp/bloat_reports/
rm -rf ./out
- name: Build unit tests
# Temporarily disable build due to running out of flash space
Expand Down

0 comments on commit 1142023

Please sign in to comment.