downgraded drone from buster to stretch
the build failed Details

This commit is contained in:
tastytea 2018-06-21 14:08:25 +02:00
parent a25672c039
commit 8c91751fbe
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
1 changed files with 5 additions and 2 deletions

View File

@ -5,12 +5,15 @@ pipeline:
source: https://schlomp.space/attachments/dbc2b2b0-86c9-4aee-ac99-9cb9e91a82ed
destination: mastodon-cpp.deb
build:
image: debian:buster-slim
image: debian:stretch-slim
pull: true
commands:
- echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list.d/buster.list
- echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
- apt-get update -q
- apt-get install -qy build-essential cmake pkg-config
- apt-get install -qy libcurl4-openssl-dev libcurlpp-dev libjsoncpp-dev libxdg-basedir-dev
- apt-get install -qy libcurl4-openssl-dev libjsoncpp-dev libxdg-basedir-dev
- apt-get install -qy -t buster libcurlpp-dev
- dpkg -i mastodon-cpp.deb
- mkdir -p build && cd build
- cmake ..