From: Kevin Ottens Date: Wed, 5 Aug 2020 22:01:12 +0000 (+0200) Subject: Parallelize the CI build X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~22^2~238^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d264f7078beabbf1469514f7395854caee1eadf5;p=nextcloud-desktop.git Parallelize the CI build Signed-off-by: Kevin Ottens --- diff --git a/.drone.yml b/.drone.yml index e7c43bb1e..f00e6e23c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,7 +21,7 @@ steps: mkdir build && cd build && cmake ../ && - make && + make -j$(nproc) && make install" # Build client - /bin/bash -c " @@ -35,7 +35,7 @@ steps: mkdir build && cd build && cmake -D NO_SHIBBOLETH=1 -DBUILD_UPDATER=ON -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && - make && + make -j$(nproc) && useradd -m -s /bin/bash test && chown -R test:test . && su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test" @@ -70,7 +70,7 @@ steps: mkdir build && cd build && cmake ../ && - make && + make -j$(nproc) && make install" # Build client - /bin/bash -c " @@ -84,7 +84,7 @@ steps: mkdir build && cd build && cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DNO_SHIBBOLETH=1 -DBUILD_UPDATER=ON -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && - make && + make -j$(nproc) && useradd -m -s /bin/bash test && chown -R test:test . && su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test"