mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-14 09:18:09 +00:00
add Ubuntu build and torture steps to GH actions
This commit is contained in:
committed by
Ryan Fleury
parent
7b2743a4d6
commit
b4cfc61408
+19
-6
@@ -2,11 +2,24 @@
|
||||
set -eu
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# compile our targets
|
||||
./build.sh raddbg raddbg_non_graphical radlink radbin torture
|
||||
target_values=(raddbg raddbg_non_graphical radlink radbin torture)
|
||||
# TODO: gcc
|
||||
cc_values=(clang)
|
||||
mode_values=(debug release)
|
||||
|
||||
# run torture
|
||||
cd build
|
||||
./torture
|
||||
cd ..
|
||||
for m in "${mode_values[@]}"; do
|
||||
for c in "${cc_values[@]}"; do
|
||||
|
||||
# nuke artifacts from last run
|
||||
rm -rf build/torture_artifacts
|
||||
|
||||
./build.sh meta "$c" "$m" "${target_values[@]}"
|
||||
|
||||
# run torture
|
||||
cd build
|
||||
./torture "$@"
|
||||
cd ..
|
||||
|
||||
done
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user