From d264f7078beabbf1469514f7395854caee1eadf5 Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Thu, 6 Aug 2020 00:01:12 +0200 Subject: [PATCH] Parallelize the CI build Signed-off-by: Kevin Ottens --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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" -- 2.30.2