mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-14 11:47:15 +01:00
17 lines
438 B
Bash
17 lines
438 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -x
|
||
|
|
||
|
mkdir tmp
|
||
|
BUILD_PREFIX=$PWD/tmp
|
||
|
|
||
|
source ../../config.sh
|
||
|
set_config_opts
|
||
|
|
||
|
CONFIG_OPTS+=("--enable-code-coverage")
|
||
|
|
||
|
pip install --user cpp-coveralls
|
||
|
|
||
|
# Build, check, and install from local source
|
||
|
( cd ../..; ./autogen.sh && ./configure "${CONFIG_OPTS[@]}" && make VERBOSE=1 -j5 check && coveralls --include src --exclude src/tweetnacl.c --exclude src/tweetnacl.h --build-root . --gcov-options '\-lp') || exit 1
|