Add debug configuration to Travis

pull/461/head
Jeffrey Walton 2017-08-17 01:47:08 -04:00
parent f099d2df91
commit 6e35e7387a
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,7 @@ env:
matrix:
- BUILD_MODE="all"
- BUILD_MODE="no-asm"
- BUILD_MODE="debug"
- BUILD_MODE="asan"
- BUILD_MODE="ubsan"
- BUILD_MODE="ios-arm"
@ -77,6 +78,10 @@ script:
cp ./TestScripts/setenv-ios.sh .
. ./setenv-ios.sh tv
make -f GNUmakefile-cross
elif [[ "$BUILD_MODE" == "debug" ]]; then
CXXFLAGS="-DDEBUG -g2 -O1" make
./cryptest.exe v
./cryptest.exe tv all
else
make "$BUILD_MODE"
./cryptest.exe v