From: Kevin Ottens Date: Thu, 6 Aug 2020 08:47:09 +0000 (+0200) Subject: Split cmake and compile into separate pipeline steps X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~22^2~238^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=db5c1862020c5909324cbe4a6bddafa7b295aa68;p=nextcloud-desktop.git Split cmake and compile into separate pipeline steps Signed-off-by: Kevin Ottens --- diff --git a/.drone.yml b/.drone.yml index 21fcc6438..9c479d696 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,7 +2,7 @@ kind: pipeline name: qt-5.12 steps: -- name: build +- name: cmake image: nextcloudci/client-5.12:client-5.12-10 volumes: - name: build @@ -10,6 +10,13 @@ steps: commands: - cd /drone/build - cmake -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 -DCMAKE_BUILD_TYPE=Debug -DNO_SHIBBOLETH=1 -DBUILD_UPDATER=ON -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../src +- name: compile + image: nextcloudci/client-5.12:client-5.12-10 + volumes: + - name: build + path: /drone/build + commands: + - cd /drone/build - make -j$(nproc) - name: test image: nextcloudci/client-5.12:client-5.12-10 @@ -38,7 +45,7 @@ kind: pipeline name: qt-5.12-clang steps: -- name: build +- name: cmake image: nextcloudci/client-5.12:client-5.12-10 volumes: - name: build @@ -46,6 +53,13 @@ steps: commands: - cd /drone/build - cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON DCMAKE_C_COMPILER=clang-10 -DCMAKE_CXX_COMPILER=clang++-10 -DCMAKE_BUILD_TYPE=Debug -DNO_SHIBBOLETH=1 -DBUILD_UPDATER=ON -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../src +- name: compile + image: nextcloudci/client-5.12:client-5.12-10 + volumes: + - name: build + path: /drone/build + commands: + - cd /drone/build - make -j$(nproc) - name: test image: nextcloudci/client-5.12:client-5.12-10