diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2021-10-28 22:44:41 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-11-02 13:21:59 -0500 |
commit | 71b1953d5f0ffe8ca41537eb5c84b6d641f1180e (patch) | |
tree | 1c194b6932bf16358c8cc3e842421e600087ee36 /.apkfoundry/master/build | |
parent | f501eba1775d96f4438e2086e4b66966f2ec06a8 (diff) | |
download | packages-add-apkf-config.tar.gz packages-add-apkf-config.tar.bz2 packages-add-apkf-config.tar.xz packages-add-apkf-config.zip |
Add APK Foundry configuration for PPC64add-apkf-config
Diffstat (limited to '.apkfoundry/master/build')
-rwxr-xr-x | .apkfoundry/master/build | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.apkfoundry/master/build b/.apkfoundry/master/build new file mode 100755 index 000000000..88b56358d --- /dev/null +++ b/.apkfoundry/master/build @@ -0,0 +1,27 @@ +#!/bin/sh -e +# vi:noet +# Disable colors if logging to a separate file (see below) +#export USE_COLORS= + +. /usr/share/abuild/functions.sh +. "$AF_LIBEXEC/af-functions" + +# Logging each build to a separate file: (make sure to update +# .gitlab-ci.yml to save artifacts if necessary): +# +#af_loginit -at + +printf "${STRONG}>>> Upgrading container${NORMAL}\n" >&2 +$SUDO_APK upgrade --available --latest + +printf "${STRONG}>>> Adding extra dependencies${NORMAL}\n" >&2 +case "$1" in +# configure: error: GNAT is required to build ada +system/gcc) $SUDO_APK add -t .makedepends-gcc-self gcc-gnat;; +esac + +printf "${STRONG}>>> abuild -r${NORMAL}\n" >&2 +af_abuild + +printf "${STRONG}>>> checkapk${NORMAL}\n" >&2 +"$AF_LIBEXEC/checkapk" |