summaryrefslogtreecommitdiff
path: root/scripts/check_all.sh
blob: 0a031448b2d4eb8dc973b846f7b9b79e2c4da2fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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."