From 7b3afcaf77f96e7d62f6cd1623ead7f17512d79f Mon Sep 17 00:00:00 2001 From: Omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sat, 24 Feb 2024 22:47:46 +1100 Subject: repo init. partial port of existing code --- deps/fff/buildandtest | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 deps/fff/buildandtest (limited to 'deps/fff/buildandtest') diff --git a/deps/fff/buildandtest b/deps/fff/buildandtest new file mode 100755 index 0000000..83ce4c3 --- /dev/null +++ b/deps/fff/buildandtest @@ -0,0 +1,15 @@ +#!/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 -- cgit v1.2.3-70-g09d2