summaryrefslogtreecommitdiff
path: root/scripts/check_all.sh
blob: 91d55c48ad3201b52cd8777949da47d7cbd8775f (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 -j8
(cd build && ctest --output-on-failure)

echo ""
echo "--- Running Windows Cross-Compilation Build ---"
./scripts/build_win.sh

echo ""
echo "All checks passed successfully."