feature/ci-cd-drone-migration #3

Merged
t3hn3rd merged 21 commits from feature/ci-cd-drone-migration into develop 2025-03-09 22:32:17 +00:00
2 changed files with 10 additions and 9 deletions
Showing only changes of commit 04cff2e2c3 - Show all commits

View File

@ -21,18 +21,20 @@ runOrFail() {
}
declare -a run_steps=(
'compile_stub.sh "Failed to compile stub!"'
'compile_vergen.sh "Versions failed to compile"'
'compile_sources.sh "Failed to compile FPC Sources!"'
'compile_link.sh "Failed linking!"'
'compile_isogen.sh "Failed to create ISO!"'
"compile_stub.sh" "Failed to compile stub!"
"compile_vergen.sh" "Versions failed to compile"
"compile_sources.sh" "Failed to compile FPC Sources!"
"compile_link.sh" "Failed linking!"
"compile_isogen.sh" "Failed to create ISO!"
)
for command in "${run_steps[@]}"
for ((i=0; i<${#run_steps[@]}; i+=2))
do
if [ "$ERRCOUNT" -eq "0" ]
then
runOrFail $(pwd)/$command
script=$(pwd)/"${run_steps[$i]}"
message="${run_steps[$i+1]}"
runOrFail "$script" "$message"
fi
done

View File

@ -5,4 +5,3 @@ echo " "
echo "Compiling Stub..."
echo " "
nasm -f elf src/stub/stub.asm -o lib/stub.o
exit 1