mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +00:00
Try to build documentation on travis, too
This commit is contained in:
parent
daeceeeca0
commit
23945d2e3f
@ -35,6 +35,7 @@ addons:
|
||||
- check
|
||||
- libsubunit-dev
|
||||
- ninja-build
|
||||
- doxygen
|
||||
|
||||
before_install:
|
||||
# Install cmake
|
||||
|
@ -28,4 +28,6 @@ include(CPack)
|
||||
# Generate docs before creating source package
|
||||
include(src/Filelists.cmake)
|
||||
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
||||
add_dependencies(dist lwipdocs)
|
||||
if (TARGET lwipdocs)
|
||||
add_dependencies(dist lwipdocs)
|
||||
endif()
|
||||
|
14
travis.sh
14
travis.sh
@ -25,7 +25,19 @@ cd build
|
||||
# Build CMake
|
||||
ERR=$?
|
||||
if [ $ERR != 0 ]; then
|
||||
echo "cmake build failed"
|
||||
echo "cmake GENERATE failed"
|
||||
exit 33
|
||||
fi
|
||||
/usr/local/bin/cmake --build . -- -j 4
|
||||
ERR=$?
|
||||
if [ $ERR != 0 ]; then
|
||||
echo "cmake build failed"
|
||||
exit 33
|
||||
fi
|
||||
|
||||
/usr/local/bin/cmake --build . --target lwipdocs
|
||||
ERR=$?
|
||||
if [ $ERR != 0 ]; then
|
||||
echo "lwIP documentation failed"
|
||||
exit 33
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user