aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/circle/gcc-sanitizer.sh
blob: e743d66af0eaef6a678c403b81d332fc368642d2 (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" --with-debug-info --with-sanitizer --with-pkcs11
make -j 2 -f "$BUILD_DIR"/Makefile
"$BUILD_DIR"/botan-test