CI: Compile restclient-cpp as a workaround.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
tastytea 2019-12-28 07:37:58 +01:00
parent 9e58e31912
commit 3ffd73d68a
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 19 additions and 0 deletions

View File

@ -25,6 +25,13 @@ steps:
source: https://schlomp.space/tastytea/mastodon-cpp/releases/download/0.111.5/libmastodon-cpp_0.111.5-0_bionic_amd64.deb
destination: mastodon-cpp_bionic.deb
# Workaround until the debian packages are fixed.
- name: download restclient-cpp source
image: plugins/download
settings:
source: https://github.com/mrtazz/restclient-cpp/archive/0.5.1.tar.gz
destination: restclient-cpp.tar.gz
- name: GCC 8 on Debian buster
image: debian:buster-slim
pull: always
@ -44,6 +51,12 @@ steps:
- apt-get install -qq build-essential cmake asciidoc
- apt-get install -qq libboost-filesystem-dev libboost-log-dev libboost-regex-dev libjsoncpp-dev catch libcurl4-openssl-dev restclient-cpp libpoco-dev
- apt-get -qq install ./mastodon-cpp_buster.deb
- tar -xf restclient-cpp.tar.gz
- cd restclient-cpp-*
- cmake -DCMAKE_INSTALL_PREFIX=/usr .
- cmake --build .
- make install
- cd ..
- rm -rf build && mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
@ -71,6 +84,12 @@ steps:
- apt-get install -qq build-essential cmake asciidoc
- apt-get install -qq libboost-filesystem-dev libboost-log-dev libboost-regex-dev libjsoncpp-dev catch libcurl4-openssl-dev restclient-cpp libpoco-dev
- apt-get -qq install ./mastodon-cpp_bionic.deb
- tar -xf restclient-cpp.tar.gz
- cd restclient-cpp-*
- cmake -DCMAKE_INSTALL_PREFIX=/usr .
- cmake --build .
- make install
- cd --
- rm -rf build && mkdir -p build && cd build
- cmake ..
- make VERBOSE=1