summaryrefslogtreecommitdiff
path: root/src/mesh/assimp-master/contrib/zip/.travis.sh
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-03-04 10:47:15 -0600
committersanine <sanine.not@pm.me>2022-03-04 10:47:15 -0600
commit058f98a63658dc1a2579826ba167fd61bed1e21f (patch)
treebcba07a1615a14d943f3af3f815a42f3be86b2f3 /src/mesh/assimp-master/contrib/zip/.travis.sh
parent2f8028ac9e0812cb6f3cbb08f0f419e4e717bd22 (diff)
add assimp submodule
Diffstat (limited to 'src/mesh/assimp-master/contrib/zip/.travis.sh')
-rwxr-xr-xsrc/mesh/assimp-master/contrib/zip/.travis.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mesh/assimp-master/contrib/zip/.travis.sh b/src/mesh/assimp-master/contrib/zip/.travis.sh
new file mode 100755
index 0000000..9cb03ee
--- /dev/null
+++ b/src/mesh/assimp-master/contrib/zip/.travis.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+#
+# Build script for travis-ci.org builds.
+#
+if [ $ANALYZE = "true" ] && [ "$CC" = "clang" ]; then
+ # scan-build -h
+ scan-build cmake -G "Unix Makefiles"
+ scan-build -enable-checker security.FloatLoopCounter \
+ -enable-checker security.insecureAPI.UncheckedReturn \
+ --status-bugs -v \
+ make -j 8 \
+ make -j 8 test
+else
+ cmake -DCMAKE_BUILD_TYPE=Debug -DSANITIZE_ADDRESS=On -DCMAKE_INSTALL_PREFIX=_install
+ make -j 8
+ make install
+ ASAN_OPTIONS=detect_leaks=0 LSAN_OPTIONS=verbosity=1:log_threads=1 ctest -V
+fi