diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-02 12:33:34 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-02 12:33:34 +0100 |
| commit | 6d41f29b223c51ebca4713028a075ebf2ce44d5e (patch) | |
| tree | 564c730ad531696ccc32d64423f36e3052c1acd4 /scripts/check_all.sh | |
| parent | 108fbf93e2d3f0c7f7d3a39a597f3d70c00e33bd (diff) | |
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.
Diffstat (limited to 'scripts/check_all.sh')
| -rwxr-xr-x | scripts/check_all.sh | 17 |
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." |
