build: add s390x arch

master
Evan Chen 2021-12-29 14:15:27 +08:00
parent faf8300d8f
commit ddf5e86cbc
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ FAILURES=""
PLATFORMS="darwin/amd64 darwin/arm64" PLATFORMS="darwin/amd64 darwin/arm64"
PLATFORMS="$PLATFORMS linux/amd64" PLATFORMS="$PLATFORMS linux/amd64"
PLATFORMS="$PLATFORMS linux/s390x"
for PLATFORM in $PLATFORMS; do for PLATFORM in $PLATFORMS; do
GOOS=${PLATFORM%/*} GOOS=${PLATFORM%/*}
@ -27,4 +28,4 @@ if [[ "${FAILURES}" != "" ]]; then
echo "" echo ""
echo "${SCRIPT_NAME} failed on: ${FAILURES}" echo "${SCRIPT_NAME} failed on: ${FAILURES}"
exit 1 exit 1
fi fi