forked from bblanchon/ArduinoJson
Travis: Split build and test scripts
This commit is contained in:
1 parent
cfd924622e
commit
d11019d9e1
3 files changed
+25
-22
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh -ex
|
||||
|
||||
export CC="$_CC"
|
||||
export CXX="$_CXX"
|
||||
|
||||
if [ -n "$SANITIZE" ]; then
|
||||
export CXXFLAGS="-fsanitize=$SANITIZE"
|
||||
BUILD_TYPE="Debug"
|
||||
else
|
||||
BUILD_TYPE="Release"
|
||||
fi
|
||||
|
||||
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .
|
||||
cmake --build .
|
||||
Reference in new issue
Block a user