mirror of https://github.com/CGAL/cgal
Add the check headers in the CHECK pass of travis
This commit is contained in:
parent
f2a18b7a65
commit
65ec22ec06
|
|
@ -77,7 +77,8 @@ cd $ROOT
|
||||||
zsh $ROOT/Scripts/developer_scripts/test_merge_of_branch HEAD
|
zsh $ROOT/Scripts/developer_scripts/test_merge_of_branch HEAD
|
||||||
#test dependencies
|
#test dependencies
|
||||||
cd $ROOT
|
cd $ROOT
|
||||||
bash Scripts/developer_scripts/cgal_check_dependencies.sh /usr/bin/doxygen
|
bash Scripts/developer_scripts/cgal_check_dependencies.sh --check_headers /usr/bin/doxygen
|
||||||
|
|
||||||
cd .travis
|
cd .travis
|
||||||
#parse current matrix and check that no package has been forgotten
|
#parse current matrix and check that no package has been forgotten
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@ do
|
||||||
echo "0 otherwise."
|
echo "0 otherwise."
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
--check_headers) DO_CHECK_HEADERS="True"
|
||||||
|
;;
|
||||||
--*) echo "bad option $1"
|
--*) echo "bad option $1"
|
||||||
;;
|
;;
|
||||||
*) DOX_PATH="$1"
|
*) DOX_PATH="$1"
|
||||||
|
|
@ -29,6 +31,9 @@ do
|
||||||
done
|
done
|
||||||
|
|
||||||
cmake -DCGAL_HEADER_ONLY=FALSE -DCGAL_ENABLE_CHECK_HEADERS=TRUE -DDOXYGEN_EXECUTABLE="$DOX_PATH" -DCGAL_COPY_DEPENDENCIES=TRUE -DCMAKE_CXX_FLAGS="-std=c++11" ..
|
cmake -DCGAL_HEADER_ONLY=FALSE -DCGAL_ENABLE_CHECK_HEADERS=TRUE -DDOXYGEN_EXECUTABLE="$DOX_PATH" -DCGAL_COPY_DEPENDENCIES=TRUE -DCMAKE_CXX_FLAGS="-std=c++11" ..
|
||||||
|
if [ -n "$DO_CHECK_HEADERS" ]; then
|
||||||
|
make -j$(nprc --all) -k check_headers
|
||||||
|
fi
|
||||||
make -j$(nproc --all) -k packages_dependencies
|
make -j$(nproc --all) -k packages_dependencies
|
||||||
echo " Checks finished"
|
echo " Checks finished"
|
||||||
for pkg_path in $CGAL_ROOT/*
|
for pkg_path in $CGAL_ROOT/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue