From 6d41f29b223c51ebca4713028a075ebf2ce44d5e Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 2 Feb 2026 12:33:34 +0100 Subject: feat(build): Add check_all script and optimize spectool - Task #4b: Added scripts/check_all.sh to build and test all platform targets (native and Windows cross-compile) to ensure pre-commit stability. - Task #10: Modified spectool to trim both leading and trailing silent frames from generated .spec files, reducing asset size. --- scripts/check_all.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 scripts/check_all.sh (limited to 'scripts/check_all.sh') 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." -- cgit v1.2.3