2 Commits

Author SHA1 Message Date
f094d532cf Modify buildtestpublish_all.sh
Some checks failed
Build-Test-Publish / build (linux/amd64) (push) Failing after 1m27s
Build-Test-Publish / build (linux/arm64) (push) Failing after 2m41s
Build-Test-Publish / test-install-from-scratch (linux/amd64) (push) Has been skipped
Build-Test-Publish / test-install-from-scratch (linux/arm64) (push) Has been skipped
2025-06-25 22:33:09 +12:00
fffa88482a Modify buildtestpublish_all.sh
Some checks failed
Build-Test-Publish / build (linux/arm64) (push) Failing after 30s
Build-Test-Publish / build (linux/amd64) (push) Failing after 32s
Build-Test-Publish / test-install-from-scratch (linux/amd64) (push) Has been skipped
Build-Test-Publish / test-install-from-scratch (linux/arm64) (push) Has been skipped
2025-06-25 22:32:04 +12:00

View File

@ -2,6 +2,9 @@
set -uo pipefail # Remove -e to handle errors manually
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
docker builder prune -f
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'
@ -175,27 +178,27 @@ function print_summary() {
# Format status with proper spacing and colors for Unicode characters
local build_col test_col publish_col
# Format build status
# Format build status with colors
case "$build_status" in
"✓") build_col=" ${GREEN}${NC} " ;;
"✗") build_col=" ${RED}${NC} " ;;
"SKIP") build_col=" ${YELLOW}-${NC} " ;;
"✓") build_col=$(printf " ${GREEN}${NC} ") ;;
"✗") build_col=$(printf " ${RED}${NC} ") ;;
"SKIP") build_col=$(printf " ${YELLOW}-${NC} ") ;;
*) build_col=" - " ;;
esac
# Format test status
# Format test status with colors
case "$test_status" in
"✓") test_col=" ${GREEN}${NC} " ;;
"✗") test_col=" ${RED}${NC} " ;;
"SKIP") test_col=" ${YELLOW}-${NC} " ;;
"✓") test_col=$(printf " ${GREEN}${NC} ") ;;
"✗") test_col=$(printf " ${RED}${NC} ") ;;
"SKIP") test_col=$(printf " ${YELLOW}-${NC} ") ;;
*) test_col=" - " ;;
esac
# Format publish status
# Format publish status with colors
case "$publish_status" in
"✓") publish_col=" ${GREEN}${NC} " ;;
"✗") publish_col=" ${RED}${NC} " ;;
"SKIP") publish_col=" ${YELLOW}-${NC} " ;;
"✓") publish_col=$(printf " ${GREEN}${NC} ") ;;
"✗") publish_col=$(printf " ${RED}${NC} ") ;;
"SKIP") publish_col=$(printf " ${YELLOW}-${NC} ") ;;
*) publish_col=" - " ;;
esac