Add Release and RelWithDebInfo builds on Travis
This commit is contained in:
parent
506b9c8224
commit
38370a1016
@ -1,9 +1,13 @@
|
||||
language: cpp
|
||||
sudo: required
|
||||
os: osx
|
||||
compiler:
|
||||
# - gcc
|
||||
- clang
|
||||
os: osx
|
||||
env:
|
||||
- BUILD_TARGET=Debug
|
||||
- BUILD_TARGET=Release
|
||||
- BUILD_TARGET=RelWithDebInfo
|
||||
install:
|
||||
- .travisci/install.sh
|
||||
script:
|
||||
|
@ -31,7 +31,8 @@ cd cmake
|
||||
cmake --version
|
||||
|
||||
# Build
|
||||
cmake .. -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=Debug
|
||||
echo Build target: ${BUILD_TARGET}
|
||||
cmake .. -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=${BUILD_TARGET}
|
||||
make -j$NUMCORES
|
||||
|
||||
ccache --show-stats
|
||||
|
Loading…
Reference in New Issue
Block a user