From 7fac2f089db1740be1743f0a55dec1f766311960 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 13 Jun 2018 03:11:15 +0200 Subject: [PATCH] Added drone script --- .drone.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a1c5840 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,24 @@ +pipeline: + download: + image: plugins/download + source: https://schlomp.space/attachments/b3119713-4c05-4acc-9cb4-460b15e19279 + destination: mastodon-cpp.deb + build: + image: debian:buster-slim + pull: true + commands: + - apt-get update -q + - apt-get install -qy build-essential cmake pkg-config + - apt-get install -qy libcurl4-openssl-dev libcurlpp-dev libjsoncpp-dev libboost-all-dev + - dpkg -i mastodon-cpp.deb + - mkdir -p build && cd build + - cmake .. + - make VERBOSE=1 + - make install DESTDIR=install + notify: + image: drillster/drone-email + host: cryptoparty-celle.de + secrets: [ email_username, email_password ] + from: drone@tzend.de + when: + status: [ changed, failure ]