ci: attempt chost fix

This commit is contained in:
build@apk-groulx 2023-04-22 18:41:56 +00:00
parent 352605c7fe
commit 2d6370f643

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
@ -239,7 +240,6 @@ section_start artifacts "Handeling artifacts" collapse
copy_artifacts || true
section_end artifacts
echo "==== $CI_ALPINE_TARGET_ARCH"
section_start summary "Build summary"