added drone config
the build was successful Details

This commit is contained in:
tastytea 2018-06-12 08:14:57 +02:00
parent 764e84cefd
commit ef7067a169
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
1 changed files with 15 additions and 0 deletions

15
.drone.yml Normal file
View File

@ -0,0 +1,15 @@
pipeline:
build:
image: debian:buster-slim
pull: true
commands:
- apt-get update
- apt-get install -y build-essential cmake pkg-config
- apt-get install -y libcurl4-openssl-dev libcurlpp-dev libjsoncpp-dev libxdg-basedir-dev
- apt-get install -y curl
- curl -so mastodon-cpp.deb https://schlomp.space/attachments/b3119713-4c05-4acc-9cb4-460b15e19279
- dpkg -i mastodon-cpp.deb
- mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install