RadioLibSmol/extras/test/unit/test.sh
Jan Gromeš cbb8d419d1
[CI] Unit test (#1373)
* [CI] Add basic unit testing

* [CI] Add gitignore

* [CI] Install libfmt

---------

Co-authored-by: jgromes <jan.gromes>
2025-01-05 17:23:13 +01:00

13 lines
182 B
Bash
Executable file

#!/bin/bash
set -e
# build the test binary
mkdir -p build
cd build
cmake -G "CodeBlocks - Unix Makefiles" ..
make -j4
# run it
cd ..
./build/radiolib-unittest --log_level=message