Skip to content

Commit 8f12dc2

Browse files
committed
ci: add subsections
1 parent b2a84ca commit 8f12dc2

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ jobs:
101101
BOOT="$1"
102102
set -euo pipefail
103103
104-
echo "::group::${BOOT}"
105104
echo "===================================="
106105
echo "Building ${BOARD} for ${BOOT}"
107106
echo "===================================="
@@ -111,13 +110,16 @@ jobs:
111110
echo -e "board=${BOARD}\ndevice=${BOOT}\n" > build.conf
112111
cat build.conf
113112
113+
echo "::group::u-boot"
114114
bash build.sh importconfig
115115
bash build.sh build
116116
bash build.sh rename
117+
echo "::endgroup::"
117118
118119
# ATF builds (optional)
119120
if [ "${ATF}" = "true" ]; then
120121
git checkout build.conf
122+
echo "::group::atf"
121123
echo "---- ATF build for ${BOOT} ----"
122124
123125
git checkout $ATF_BRANCH
@@ -127,11 +129,15 @@ jobs:
127129
# normal ATF build
128130
bash build.sh build
129131
bash build.sh rename
132+
echo "::endgroup::"
130133
131134
if [[ "${BOOT}" == *"mmc"* ]]; then
135+
echo "::group::baseimage"
132136
bash build.sh createimg non-interactive
137+
echo "::endgroup::"
133138
fi
134139
140+
echo "::group::atf extended"
135141
if [ "${RAM8G}" == "true" ]; then
136142
echo "extraflags=DDR4_4BG_MODE=1" >> build.conf
137143
bash build.sh build
@@ -150,17 +156,19 @@ jobs:
150156
bash build.sh rename
151157
fi
152158
fi
159+
echo "::endgroup::"
153160
# we do not need u-boot.bin for all devices
154161
# only one sdmmc and emmc version (chain loading)
155162
if [[ "${BOOT}" != *"mmc"* ]]; then
156163
rm u-boot*.bin
157164
fi
158165
rm -f build.conf
159166
else
167+
echo "::group::baseimage"
160168
bash build.sh createimg non-interactive
169+
echo "::endgroup::"
161170
git checkout build.conf
162171
fi
163-
echo "::endgroup::"
164172
}
165173
EOF
166174

0 commit comments

Comments
 (0)