CI: Compile restclient-cpp as a workaround.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
9e58e31912
commit
3ffd73d68a
19
.drone.yml
19
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user