summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-11-06 14:56:05 +0700
committerhathach <[email protected]>2022-11-06 14:56:05 +0700
commitb92015544490ed6fd8891db59c4cb88365f0f137 (patch)
treef684c1b1a89798ff214c670a2d60da60aa751c80 /.github/workflows
parentfe7fca7abbea02b9f0ac8f53bf4ca1d1019c6e85 (diff)
minor clean up
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build_arm.yml8
-rw-r--r--.github/workflows/build_esp.yml7
-rw-r--r--.github/workflows/build_msp430.yml7
-rw-r--r--.github/workflows/build_renesas.yml7
-rw-r--r--.github/workflows/build_riscv.yml7
5 files changed, 20 insertions, 16 deletions
diff --git a/.github/workflows/build_arm.yml b/.github/workflows/build_arm.yml
index a321948e3..56804da8a 100644
--- a/.github/workflows/build_arm.yml
+++ b/.github/workflows/build_arm.yml
@@ -99,10 +99,10 @@ jobs:
- name: Linker Map
run: |
pip install linkermap/
- # find -quit to only print map of 1 board per example
- for ex in `ls -d examples/*/*/`; do \
- find ${ex} -name *.map -print -quit | \
- xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'; \
+ # find -quit to only print linkermap of 1 board per example
+ for ex in `ls -d examples/*/*/`
+ do
+ find ${ex} -name *.map -print -quit | xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'
done
# Following steps are for Hardware Test with self-hosted
diff --git a/.github/workflows/build_esp.yml b/.github/workflows/build_esp.yml
index 6a46773b2..417887172 100644
--- a/.github/workflows/build_esp.yml
+++ b/.github/workflows/build_esp.yml
@@ -43,7 +43,8 @@ jobs:
- name: Linker Map
run: |
pip install linkermap/
- for ex in `ls -d examples/device/*/`; do \
- find ${ex} -maxdepth 3 -name *.map -print -quit | \
- xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'; \
+ # find -quit to only print linkermap of 1 board per example
+ for ex in `ls -d examples/device/*/`
+ do
+ find ${ex} -maxdepth 3 -name *.map -print -quit | xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'
done
diff --git a/.github/workflows/build_msp430.yml b/.github/workflows/build_msp430.yml
index ea93f09a0..731febb03 100644
--- a/.github/workflows/build_msp430.yml
+++ b/.github/workflows/build_msp430.yml
@@ -61,7 +61,8 @@ jobs:
- name: Linker Map
run: |
pip install linkermap/
- for ex in `ls -d examples/device/*/`; do \
- find ${ex} -name *.map -print -quit | \
- xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'; \
+ # find -quit to only print linkermap of 1 board per example
+ for ex in `ls -d examples/device/*/`
+ do
+ find ${ex} -name *.map -print -quit | xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'
done
diff --git a/.github/workflows/build_renesas.yml b/.github/workflows/build_renesas.yml
index 2563d3549..4de42f935 100644
--- a/.github/workflows/build_renesas.yml
+++ b/.github/workflows/build_renesas.yml
@@ -62,7 +62,8 @@ jobs:
- name: Linker Map
run: |
pip install linkermap/
- for ex in `ls -d examples/device/*/`; do \
- find ${ex} -name *.map -print -quit | \
- xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'; \
+ # find -quit to only print linkermap of 1 board per example
+ for ex in `ls -d examples/device/*/`
+ do
+ find ${ex} -name *.map -print -quit | xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'
done
diff --git a/.github/workflows/build_riscv.yml b/.github/workflows/build_riscv.yml
index 90dc35206..9362da893 100644
--- a/.github/workflows/build_riscv.yml
+++ b/.github/workflows/build_riscv.yml
@@ -62,7 +62,8 @@ jobs:
- name: Linker Map
run: |
pip install linkermap/
- for ex in `ls -d examples/device/*/`; do \
- find ${ex} -name *.map -print -quit | \
- xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'; \
+ # find -quit to only print linkermap of 1 board per example
+ for ex in `ls -d examples/device/*/`
+ do
+ find ${ex} -name *.map -print -quit | xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'
done