Skip to content

Commit

Permalink
[Telink] remove unused tools build files during app build
Browse files Browse the repository at this point in the history
  • Loading branch information
s07641069 committed Sep 14, 2023
1 parent f47ce53 commit 8b0d58d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/examples-telink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,19 @@ jobs:

- name: Build example Telink (B91) Lighting App with RPC, Shell and Factory Data
run: |
./scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux
./scripts/build/gn_gen.sh
./scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE chip-cert chip-tool spake2p"
(cd ./out/$BUILD_TYPE && rm -rf !("chip-cert"|"chip-tool"|"spake2p"))
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --target 'telink-tlsr9518adk80d-light-rpc-shell-factory-data' build"
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
telink tlsr9518adk80d lighting-app-rpc-shell-factory-data \
out/telink-tlsr9518adk80d-light-rpc-shell-factory-data/zephyr/zephyr.elf \
/tmp/bloat_reports/
- name: clean out build output (keep tools)
run: rm -rf ./out/telink-tlsr*

- name: Build example Telink (B92) Lighting App with RPC, Shell and Factory Data
run: |
./scripts/run_in_build_env.sh \
Expand Down

0 comments on commit 8b0d58d

Please sign in to comment.