aboutsummaryrefslogtreecommitdiffhomepage
path: root/.ci.sh
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-08-16 19:28:48 +0200
committercbdev <cb@cbcdn.com>2020-08-16 19:28:48 +0200
commitca861ca42bdbf0e8cf14737e81cd70665c5b557d (patch)
tree2239aa87b8ccd2b26257f904592dd44b6f3c8ca2 /.ci.sh
parent5bf8fcd4cd4e5ccabb46e830dffa19fd6f7a2f11 (diff)
downloadmidimonster-ca861ca42bdbf0e8cf14737e81cd70665c5b557d.tar.gz
midimonster-ca861ca42bdbf0e8cf14737e81cd70665c5b557d.tar.bz2
midimonster-ca861ca42bdbf0e8cf14737e81cd70665c5b557d.zip
Fix CI returns
Diffstat (limited to '.ci.sh')
-rwxr-xr-x.ci.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/.ci.sh b/.ci.sh
index 087bf11..4a646a9 100755
--- a/.ci.sh
+++ b/.ci.sh
@@ -78,13 +78,15 @@ elif [ "$TASK" = "sanitize" ]; then
# Run sanitized compile
ci_fold start "make_sanitize"
if ! make sanitize; then
- exit "$?"
+ printf "Failed to build\n"
+ exit 1
fi
ci_fold end "make_sanitize"
elif [ "$TASK" = "windows" ]; then
ci_fold start "make_windows"
if ! make windows; then
- exit "$?"
+ printf "Failed to build\n"
+ exit 1
fi
make -C backends lua.dll
ci_fold end "make_windows"
@@ -110,7 +112,8 @@ else
# Otherwise compile as normal
ci_fold start "make"
if ! make full; then
- exit "$?"
+ printf "Failed to build\n"
+ exit 1
fi
ci_fold end "make"
if [ "$(git describe)" == "$(git describe --abbrev=0)" ] || [ -n "$DEPLOY" ]; then