summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xci.bash4
-rwxr-xr-xcompile.bash6
2 files changed, 9 insertions, 1 deletions
diff --git a/ci.bash b/ci.bash
index 22e085aca346..8e424b51bfa4 100755
--- a/ci.bash
+++ b/ci.bash
@@ -9,10 +9,12 @@ done
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"
cd "${DIR}" || return
+git checkout .
+git reset --hard HEAD
git pull
# Weird pgrep fail with the complete binary name
if pgrep -a do-not-directly|grep alchemy ; then
echo "Aborting package build because Alchemy is running"
exit 0
fi
-makepkg --sync --install --noconfirm --needed
+BUILDENV=(!distcc color !ccache check sign) makepkg --sync --install --noconfirm --needed
diff --git a/compile.bash b/compile.bash
index efaa08086aba..c837e8eabbd9 100755
--- a/compile.bash
+++ b/compile.bash
@@ -25,6 +25,12 @@ prepare() {
pip3 install --no-cache --upgrade autobuild --quiet
}
+cleanbuild()
+{
+ rm -rf build-linux-64
+ git pull --prune
+ build()
+}
build() {
# we have a lot of files, relax ulimit to help performance
if [[ -n "$USE_VENV" ]]; then