mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 17:52:08 -10:00
This makes the workflows easier to manage, makes those build steps reusable, and allows for easier migration to other CI services should that be required at some point.
14 lines
367 B
Bash
Executable File
14 lines
367 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
SCRIPT=$(readlink -f "$0")
|
|
HERE=$(dirname "$SCRIPT")
|
|
|
|
export LD_LIBRARY_PATH=$(pwd)/bin/lib:$LD_LIBRARY_PATH
|
|
|
|
if [ "$CONFIGURATION" = "Debug" ]; then
|
|
valgrind --leak-check=full --error-exitcode=1 --gen-suppressions=all \
|
|
--suppressions="$HERE/valgrind.supp" ./bin/unittests --gtest_shuffle
|
|
else
|
|
./bin/unittests --gtest_shuffle
|
|
fi
|