ci: other fix

This commit is contained in:
build@apk-groulx 2023-04-22 19:00:45 +00:00
parent 2d6370f643
commit fdc715ba30

View file

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