Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@nextcloud.com>2020-08-06 11:47:09 +0300
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>2020-08-12 09:45:13 +0300
commitdb5c1862020c5909324cbe4a6bddafa7b295aa68 (patch)
tree545f648ecc835dc352095e3f550e62f04d3c5bac /.drone.yml
parent725f1e742dd2f13296b3b7808ea20c68e273939f (diff)
Split cmake and compile into separate pipeline steps
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml18
1 files changed, 16 insertions, 2 deletions
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