mirror of https://github.com/PCSX2/pcsx2.git
ci: Properly fail the linux workflows if the build fails
This commit is contained in:
parent
0bd49ad778
commit
645b2dc17a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue