aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-03-23 10:39:52 -0300
committerEuAndreh <eu@euandre.org>2021-03-23 10:39:52 -0300
commitffa3b0f1d51f37d581fbe1445e6a9aed088e70d1 (patch)
treee1a35e5eb8aa6a02915076d56c4d2f0c8afd9ee7
parent069ee91b7306537c1b9e7a8312c1e5d9900917d9 (diff)
downloadboneco-ffa3b0f1d51f37d581fbe1445e6a9aed088e70d1.tar.gz
aux/ci/ci-build.sh: Run build target before tests, so we have HTML files when tests fail
-rwxr-xr-xaux/ci/ci-build.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/aux/ci/ci-build.sh b/aux/ci/ci-build.sh
index 45e4075..21788f4 100755
--- a/aux/ci/ci-build.sh
+++ b/aux/ci/ci-build.sh
@@ -25,12 +25,6 @@ EOF
git notes --ref=refs/notes/ci-logs add -f -F "$LOGFILE"
git notes append -m "$NOTE"
- cd -
- if [ -f ./aux/ci/report.sh ]; then
- sh aux/ci/report.sh "$PACKAGE"
- rsync -a public/ "/srv/http/$PACKAGE/"
- fi
-
printf "\n>>>\n>>> CI logs added as Git note.\n>>>\n>>> Run status was %s" "$STATUS"
}
trap finish EXIT
@@ -50,7 +44,7 @@ EOF
RUNNER='sh -c'
fi
- $RUNNER 'make clean dev-check public'
+ $RUNNER 'make clean public dev-check'
rsync -a public/ "/srv/http/$PACKAGE/" --delete
} 2>&1 | tee "$LOGFILE"