Skip to content

Commit 0d7155a

Browse files
committed
REMOVE BEFORE MERGE: only build 50 for testing the summary
1 parent b409802 commit 0d7155a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/bin/golang-validation

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ maybe_cleanup() {
3535
echo "INFO: Rebuild list: ${PACKAGES[*]}" | tee "${GITHUB_STEP_SUMMARY}"
3636

3737
output=""
38+
i=0
3839
declare -A failed=()
3940
start_building_arch="$(date +%10s%3N)"
4041
for package in "${PACKAGES[@]}"; do
@@ -52,6 +53,10 @@ for package in "${PACKAGES[@]}"; do
5253
echo # newline
5354
exit "$status"
5455
)" || failed["${package} ${ARCH}"]="${output}"
56+
i=$(( i++ ))
57+
if (( i > 50 )); then
58+
break
59+
fi
5560
done
5661
echo "INFO: Building all packages for ${ARCH} took $(ms_to_human_readable $(( $(date +%10s%3N) - start_building_arch )))" | tee -a "${GITHUB_STEP_SUMMARY}"
5762
echo # newline

0 commit comments

Comments
 (0)