summaryrefslogtreecommitdiff
path: root/scripts/check_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/check_all.sh')
-rwxr-xr-xscripts/check_all.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/check_all.sh b/scripts/check_all.sh
new file mode 100755
index 0000000..0a03144
--- /dev/null
+++ b/scripts/check_all.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+# This script builds and tests all supported platform targets to ensure
+# stability before a major commit.
+
+set -e
+
+echo "--- Running Native Build & Tests ---"
+cmake -S . -B build -DDEMO_BUILD_TESTS=ON
+cmake --build build
+(cd build && ctest --output-on-failure)
+
+echo ""
+echo "--- Running Windows Cross-Compilation Build ---"
+./scripts/build_win.sh
+
+echo ""
+echo "All checks passed successfully."