Test doxygen on Circle CI

This commit is contained in:
Paweł Bylica 2018-03-28 16:16:28 +02:00
parent 799d8b4127
commit 3d6dcbcc6b
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
2 changed files with 18 additions and 1 deletions

View File

@ -14,8 +14,25 @@ jobs:
name: "Build"
command: cmake --build ~/build
generate-docs:
docker:
- image: ethereum/cpp-build-env
steps:
- checkout
- run:
name: "Generate documentation"
command: |
doxygen docs/Doxyfile > doxygen.log 2> doxygen.warnings
if [ -s doxygen.warnings ]; then
printf '\n\nDoxygen warnings:\n\n'
cat doxygen.warnings
exit 1
fi
cat doxygen.log
workflows:
version: 2
evmc:
jobs:
- build
- generate-docs

View File

@ -99,7 +99,7 @@ WARN_LOGFILE =
#---------------------------------------------------------------------------
# Configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = include/evm.h
INPUT = include/evmc.h
INPUT_ENCODING = UTF-8
FILE_PATTERNS =
RECURSIVE = NO