diff options
author | Ander Conselvan de Oliveira <ander.deoliveira@mapbox.com> | 2019-03-04 15:13:31 +0200 |
---|---|---|
committer | Ander Conselvan de Oliveira <ander.deoliveira@mapbox.com> | 2019-03-13 15:06:56 +0200 |
commit | 7bac0c7cbac6333b36a91387e2cf2751b048c869 (patch) | |
tree | 8ed1f8f42af317c5cf2ec3bd8d0cf8a56dbcfff3 /circle.yml | |
parent | 3c4d41559a1e1b4d53a9fc089d3f6919441298d0 (diff) | |
download | qtlocation-mapboxgl-7bac0c7cbac6333b36a91387e2cf2751b048c869.tar.gz |
[build] Check documentation coverage on CI
Add a CI target that checks documentation coverage and reports back to
github. While at it, change the output of doxy-coverage to a json file
so it is easy to consume.
Diffstat (limited to 'circle.yml')
-rw-r--r-- | circle.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml index 4a54e06931..477556797e 100644 --- a/circle.yml +++ b/circle.yml @@ -39,6 +39,7 @@ workflows: - linux-gcc49-debug: name: linux-gcc4.9-debug - linux-gcc5-debug-coverage + - linux-doxygen - ios-debug - ios-release-template: name: ios-release @@ -865,6 +866,31 @@ jobs: ./codecov -c # ------------------------------------------------------------------------------ + linux-doxygen: + docker: + - image: mbgl/linux-gcc-5:54f59e3ac5 + resource_class: large + working_directory: /src + environment: + LIBSYSCONFCPUS: 2 + JOBS: 2 + BUILDTYPE: Debug + WITH_EGL: 1 + WITH_COVERAGE: 1 + steps: + - install-dependencies + - run: + name: Install doxygen + command: apt update && apt install -y doxygen + - build-linux + - save-dependencies + - run: + name: Check documentation coverage + command: | + platform/linux/ninja -C "build/linux-$(uname -m)/Debug" doxygen_coverage + scripts/publish_doxygen_coverage.js "build/linux-$(uname -m)/Debug/doxygen-coverage.json" + +# ------------------------------------------------------------------------------ ios-debug: macos: xcode: "10.1.0" |