From 0f2097ccec0512104dccf8f01e3b6febe2523e73 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Mon, 3 May 2021 15:23:51 +0200 Subject: [PATCH] switch CI to cmake in order to generate documentation Signed-off-by: Matthieu Gallien --- .drone.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index ee57b5a3ed8a2..20c7737a74c10 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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