Files
arcs/arcs-sdk/modules/fff/buildandtest
2026-08-13 16:50:52 +08:00

16 lines
276 B
Bash
Executable File

#!/bin/bash
set -e
# Clear the environment
rm -fr build fff.h
mkdir build
# Configure the build
cmake -B build -DFFF_GENERATE=ON -DFFF_UNIT_TESTING=ON || exit -1
# Build all targets
cmake --build build || exit -1
# Run all tests
ctest --test-dir build --output-on-failure