From 553fae93bbb43c010b89321d7a0c9a9d1318aa63 Mon Sep 17 00:00:00 2001 From: The-EDev Date: Mon, 5 Apr 2021 07:18:45 +0300 Subject: [PATCH] fixed issue where "drone ignored failing make or ctest commands unless nothing else ran afterwards" --- .drone.yml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index e248029ab..598576f82 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,7 +24,8 @@ steps: - mkdir build - cd build - cmake .. - - make -j4 && ctest -V -j4 + - make -j4 + - ctest -V -j4 - cd .. - coveralls --verbose --exclude-pattern .*/http_parser_merged.h --exclude-pattern .*/TinySHA1.hpp - export CC=/usr/bin/clang @@ -32,7 +33,8 @@ steps: - mkdir build-clang - cd build-clang - cmake .. - - make -j4 && ctest -V -j4 + - make -j4 + - ctest -V -j4 trigger: branch: @@ -60,14 +62,16 @@ steps: - cd build - cmake --version - cmake .. - - make -j4 && ctest -V -j4 + - make -j4 + - ctest -V -j4 - cd .. - export CC=/usr/bin/clang - export CXX=/usr/bin/clang++ - mkdir build-clang - cd build-clang - cmake .. - - make -j4 && ctest -V -j4 + - make -j4 + - ctest -V -j4 trigger: branch: @@ -109,7 +113,8 @@ steps: - mkdir build - cd build - cmake .. - - make -j4 && ctest -V -j4 + - make -j4 + - ctest -V -j4 - cd .. - coveralls --verbose --exclude-pattern .*/http_parser_merged.h --exclude-pattern .*/TinySHA1.hpp - export CC=/usr/bin/clang @@ -117,7 +122,8 @@ steps: - mkdir build-clang - cd build-clang - cmake .. - - make -j4 && ctest -V -j4 + - make -j4 + - ctest -V -j4 - cd .. - chmod +x scripts/generateDocumentationAndDeploy.sh - ./scripts/generateDocumentationAndDeploy.sh @@ -148,14 +154,16 @@ steps: - cd build - cmake --version - cmake .. - - make -j4 && ctest -V -j4 + - make -j4 + - ctest -V -j4 - cd .. - export CC=/usr/bin/clang - export CXX=/usr/bin/clang++ - mkdir build-clang - cd build-clang - cmake .. - - make -j4 && ctest -V -j4 + - make -j4 + - ctest -V -j4 trigger: branch: