#!/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."