代码拉取完成,页面将自动刷新
#! /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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。