ci: build debug builds rather than release builds

This commit is contained in:
itsmattkc
2020-08-07 19:58:44 +10:00
parent 1b2b5d3b75
commit 849e051fa4
3 changed files with 12 additions and 7 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ export VERSION=$(git rev-parse --short=8 HEAD)
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# Generate Makefile
cmake .
cmake . -DCMAKE_BUILD_TYPE=Debug
# Make
make -j$(sysctl -n hw.ncpu)
@@ -50,7 +50,7 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
# Generate Makefile
cmake .
cmake . -DCMAKE_BUILD_TYPE=Debug
# Make
make -j$(nproc)