Skip to content

Commit

Permalink
switch CI to cmake in order to generate documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Aug 25, 2021
1 parent 13a815e commit 55d1278
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,27 @@ kind: pipeline
name: Documentation

steps:
- name: cmake
image: nextcloudci/client-5.12:client-5.12-12
volumes:
- name: build
path: /drone/build
commands:
- cd /drone/build
- cmake -G Ninja -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 -DCMAKE_BUILD_TYPE=Debug -DBUILD_UPDATER=ON -DBUILD_TESTING=1 -DSANITIZE_ADDRESS=ON ../src
- name: build
image: nextcloudci/documentation:documentation-5
image: nextcloudci/client-5.12:client-5.12-12
volumes:
- name: build
path: /drone/build
commands:
- cd doc
- make html
- cd /drone/build
- ninja doc-html-com

volumes:
- name: build
temp: {}

trigger:
branch:
- master
Expand Down

0 comments on commit 55d1278

Please sign in to comment.