diff --git a/.drone.yml b/.drone.yml index ee57b5a3ed8a2..9bd97c9a9c9da 100644 --- a/.drone.yml +++ b/.drone.yml @@ -139,11 +139,19 @@ 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 -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 commands: - - cd doc - - make html + - cd /drone/build + - ninja doc-html-com trigger: branch: - master