ci: other fix
This commit is contained in:
parent
fdc715ba30
commit
d714d8e02d
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue