expandurl-mastodon/.drone.yml

21 lines
571 B
YAML
Raw Normal View History

2018-06-12 08:14:57 +02:00
pipeline:
pipeline:
download:
image: plugins/download
source: https://schlomp.space/attachments/b3119713-4c05-4acc-9cb4-460b15e19279
destination: mastodon-cpp.deb
2018-06-12 08:14:57 +02:00
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
- dpkg -i mastodon-cpp.deb
- mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install