From b1c99e70b80d4d454dd132cb9a9a65a929f79e15 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 7 Jan 2020 09:16:30 +0100 Subject: CI: Compile exmaples. --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 113101a..af71b07 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,13 +28,13 @@ steps: - apt-get install -qq build-essential cmake clang - apt-get install -qq catch libcurl4-openssl-dev - rm -rf build && mkdir -p build && cd build - - cmake -G "Unix Makefiles" -DWITH_TESTS=YES .. + - cmake -G "Unix Makefiles" -DWITH_TESTS=YES -DWITH_EXAMPLES=YES .. - make VERBOSE=1 - make install DESTDIR=install - cd tests && ctest -V - cd ../../ - rm -rf build && mkdir -p build && cd build - - CXX="clang++" cmake -G "Unix Makefiles" -DWITH_TESTS=YES .. + - CXX="clang++" cmake -G "Unix Makefiles" -DWITH_TESTS=YES -DWITH_EXAMPLES=YES .. - make VERBOSE=1 - make install DESTDIR=install - cd tests && ctest -V @@ -57,13 +57,13 @@ steps: - apt-get install -qq build-essential cmake clang - apt-get install -qq catch libcurl4-openssl-dev - rm -rf build && mkdir -p build && cd build - - cmake -G "Unix Makefiles" -DWITH_TESTS=YES .. + - cmake -G "Unix Makefiles" -DWITH_TESTS=YES -DWITH_EXAMPLES=YES .. - make VERBOSE=1 - make install DESTDIR=install - cd tests && ctest -V - cd ../../ - rm -rf build && mkdir -p build && cd build - - CXX="clang++" cmake -G "Unix Makefiles" -DWITH_TESTS=YES .. + - CXX="clang++" cmake -G "Unix Makefiles" -DWITH_TESTS=YES -DWITH_EXAMPLES=YES .. - make VERBOSE=1 - make install DESTDIR=install - cd tests && ctest -V -- cgit v1.2.3-54-g00ecf