bismuth/scripts/test.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
390 B
Bash
Raw Normal View History

#!/usr/bin/env sh
2022-03-03 19:13:50 +03:00
# SPDX-FileCopyrightText: 2022 Mikhail Zolotukhin <mail@gikari.com>
# SPDX-License-Identifier: MIT
set -e
echo "🏗️ Building Bismuth Testing Build..."
cmake -S "." -B "build" -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DBUILD_TESTING=true
cmake --build "build"
echo "🧪 Testing Bismuth..."
build/bin/test_runner