ci: other fix

This commit is contained in:
build@apk-groulx 2023-04-22 19:03:14 +00:00
parent fdc715ba30
commit d714d8e02d

View file

@ -80,7 +80,8 @@ get_release() {
build_aport() {
local repo="$1" aport="$2"
cd "$APORTSDIR/$repo/$aport"
if CHOST=$CI_ALPINE_TARGET_ARCH abuild -r 2>&1 | report "build-$aport"; then
export CHOST=$CI_ALPINE_TARGET_ARCH
if abuild -r 2>&1 | report "build-$aport"; then
checkapk | report "checkapk-$aport" || true
aport_ok="$aport_ok $repo/$aport"
else
@ -91,7 +92,8 @@ build_aport() {
check_aport() {
local repo="$1" aport="$2"
cd "$APORTSDIR/$repo/$aport"
if ! CHOST=$CI_ALPINE_TARGE_TARCH abuild check_arch 2>/dev/null; then
export CHOST=$CI_ALPINE_TARGET_ARCH
if ! abuild check_arch 2>/dev/null; then
aport_na="$aport_na $repo/$aport"
return 1
fi