ci: Properly fail the linux workflows if the build fails

This commit is contained in:
Tyler Wilding 2020-09-11 21:30:14 -04:00 committed by lightningterror
parent 0bd49ad778
commit 645b2dc17a
1 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
set -ex
# Packages - Build Environment # Packages - Build Environment
declare -a BUILD_PACKAGES=( declare -a BUILD_PACKAGES=(
"cmake" "cmake"
@ -110,14 +112,11 @@ compile() {
case $1 in case $1 in
install_packages) install_packages)
"$@" "$@"
exit
;; ;;
generate_cmake) generate_cmake)
"$@" "$@"
exit
;; ;;
compile) compile)
"$@" "$@"
exit
;; ;;
esac esac