1 Star 0 Fork 0

hoopoo/oce

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.build.sh 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
Denis Barbier 提交于 2015-10-05 20:45 . config/travis
#! /bin/sh
set -e
# Default values
: "${OCE_USE_PCH=OFF}"
: "${OCE_COPY_HEADERS_BUILD=OFF}"
: "${OCE_MULTITHREAD_LIBRARY=NONE}"
echo "Timestamp" && date
cmake -DOCE_ENABLE_DEB_FLAG:BOOL=OFF \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DOCE_USE_TCL_TEST_FRAMEWORK:BOOL=ON \
-DOCE_TESTING:BOOL=ON \
-DOCE_DRAW:BOOL=ON \
-DOCE_VISUALISATION:BOOL=ON \
-DOCE_OCAF:BOOL=ON \
-DOCE_DATAEXCHANGE:BOOL=ON \
-DOCE_USE_PCH:BOOL="${OCE_USE_PCH}" \
-DOCE_COPY_HEADERS_BUILD:BOOL="${OCE_COPY_HEADERS_BUILD}" \
-DOCE_WITH_GL2PS:BOOL=ON \
-DOCE_WITH_FREEIMAGE:BOOL=ON \
-DOCE_MULTITHREAD_LIBRARY:STRING="${OCE_MULTITHREAD_LIBRARY}" \
..
echo ""
echo "Timestamp" && date
if test "$RUN_TESTS" = true; then
# travis-ci truncates when there are more than 10,000 lines of output.
# Builds generate around 9,000 lines of output, trim them to see test
# results.
make -j8 | grep Built
# Run OCE tests
echo "Timestamp" && date
make test
# Run OCCT tests, but overwrite DrawLaunchTests.draw to write
# an XML summary file at a specified location
cat > DrawLaunchTests.draw <<EOT
testgrid -outdir occt -xml summary.xml -refresh 300
exit
EOT
echo "Timestamp" && date
cmake -P DrawLaunchTests.cmake || true
else
make -j8
fi
echo "Timestamp" && date
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hoopoo/oce.git
git@gitee.com:hoopoo/oce.git
hoopoo
oce
oce
master

搜索帮助