aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/circle/clang-static-debug.sh
blob: 8bf96fcfe89d350a5295a8ba12dc5714d8dbff07 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
set -ev
which shellcheck > /dev/null && shellcheck "$0" # Run shellcheck on this if available

BUILD_NICKNAME=$(basename "$0" .sh)
BUILD_DIR="./build-$BUILD_NICKNAME"

./configure.py --with-build-dir="$BUILD_DIR" --build-mode=debug --cc=clang --disable-shared --via-amalgamation
make -j 2 -f "$BUILD_DIR"/Makefile
"$BUILD_DIR"/botan-test