From 1cca2b7406b7392e76d79269c29bb11bc3eed0f5 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 22 Jul 2019 02:46:25 +0200 Subject: [PATCH] CI: Added tests and examples, fixed omission. --- .drone.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index a058c84..97f0061 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,6 +11,7 @@ trigger: exclude: - tag +steps: - name: gcc5 image: debian:stretch-slim pull: always @@ -29,12 +30,12 @@ trigger: - gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add - - apt-get update -q - apt-get install -qy -t xenial g++-5 - - apt-get install -qy cmake pkg-config - - apt-get install -qy libconfig++-dev libxdg-basedir-dev + - apt-get install -qy cmake pkg-config libconfig++-dev libxdg-basedir-dev catch - rm -rf build && mkdir -p build && cd build - - cmake .. + - cmake -DWITH_TESTS=YES -DWITH_EXAMPLES=YES .. - make VERBOSE=1 - make install DESTDIR=install + - cd tests && ctest -Q volumes: - name: debian-package-cache path: /var/cache/apt/archives