From 3685dbdcfdf9379869f82a07473ce89c7c35eab1 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 9 May 2021 13:41:40 +0200 Subject: [PATCH] :wrench: checkout cmake via git --- .drone.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 471ce1095..9fdae5a0a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,18 +8,17 @@ steps: - name: build image: gcc commands: - - wget --no-check-certificates https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2.tar.gz - - tar xfz cmake-3.20.2.tar.gz - - cd cmake-3.20.2 + - git clone https://github.com/Kitware/CMake.git + - cd CMake - ./configure - make cmake ctest -j10 - cd .. - mkdir build - cd build - - ../cmake-3.20.2/bin/cmake .. -DJSON_FastTests=ON + - ../CMake/bin/cmake .. -DJSON_FastTests=ON - make -j10 - cd test - - ../../cmake-3.20.2/bin/ctest -j10 + - ../../CMake/bin/ctest -j10 --- kind: pipeline