add Ubuntu build and torture steps to GH actions

This commit is contained in:
Nikita Smith
2026-06-02 12:10:20 -07:00
committed by Ryan Fleury
parent 7b2743a4d6
commit b4cfc61408
5 changed files with 179 additions and 93 deletions
+19 -6
View File
@@ -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