1
0
woodpecker-yc-autoscaler/.ci/build-all.sh

22 lines
373 B
Bash
Raw Permalink Normal View History

2024-07-30 00:54:43 +03:00
#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# (c) 2024, Konstantin Demin
set -ef
[ -z "${CI_DEBUG}" ] || set -xv
r=0
TARGET_PLATFORMS=$(printf '%s' "${TARGET_PLATFORMS:?}" | tr ',' ' ')
for TARGET_PLATFORM in ${TARGET_PLATFORMS} ; do
export TARGET_PLATFORM
. .ci/envsh.build
.ci/build.sh || r=$?
[ "$r" = 0 ] || break
done
make ci-clean
exit "$r"