22 lines
373 B
Bash
Executable File
22 lines
373 B
Bash
Executable File
#!/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"
|