Changed dependencies: libcurlpp-dev is not in buster anymore, but in sid
the build failed Details

This commit is contained in:
tastytea 2018-10-08 18:26:22 +02:00
parent dd306268c4
commit be39e04b05
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 7 additions and 30 deletions

View File

@ -3,12 +3,12 @@ pipeline:
image: gcc:8
pull: true
commands:
- echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list.d/buster.list
- echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list
- echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
- apt-get update -q
- apt-get install -qy cmake
- apt-get install -qy libcurl4-openssl-dev libjsoncpp-dev
- apt-get install -qy -t buster libcurlpp-dev
- apt-get install -qy -t sid libcurlpp-dev
- apt-get install -qy rpm file
- rm -rf build && mkdir -p build && cd build
- cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON ..
@ -25,12 +25,12 @@ pipeline:
image: gcc:7
pull: true
commands:
- echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list.d/buster.list
- echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list
- echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
- apt-get update -q
- apt-get install -qy cmake
- apt-get install -qy libcurl4-openssl-dev libjsoncpp-dev
- apt-get install -qy -t buster libcurlpp-dev
- apt-get install -qy -t sid libcurlpp-dev
- apt-get install -qy rpm file
- rm -rf build && mkdir -p build && cd build
- cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON ..
@ -48,12 +48,12 @@ pipeline:
pull: true
commands:
- echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list
- echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list.d/buster.list
- echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list
- echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release
- apt-get update -q
- apt-get install -qy -t jessie-backports cmake libjsoncpp-dev
- apt-get install -qy libcurl4-openssl-dev
- apt-get install -qy -t buster libcurlpp-dev
- apt-get install -qy -t sid libcurlpp-dev
- apt-get install -qy rpm file
- rm -rf build && mkdir -p build && cd build
- cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON ..
@ -66,29 +66,6 @@ pipeline:
- make package
- cmake -DWITH_DEB=OFF -DWITH_RPM=ON ..
- make package
# gcc5:
# image: gcc:5
# pull: true
# commands:
# - echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list
# - echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list.d/buster.list
# - echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release
# - apt-get update -q
# - apt-get install -qy -t jessie-backports cmake libjsoncpp-dev
# - apt-get install -qy libcurl4-openssl-dev
# - apt-get install -qy -t buster libcurlpp-dev
# - apt-get install -qy rpm file
# - rm -rf build && mkdir -p build && cd build
# - cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON ..
# - make VERBOSE=1
# - make install DESTDIR=install
# - ctest ..
# - cp -v ../packages/gentoo/mastodon-cpp-0.0.0.ebuild mastodon-cpp-${DRONE_TAG}.ebuild
# - make package
# - cmake -DWITH_DEB=ON ..
# - make package
# - cmake -DWITH_DEB=OFF -DWITH_RPM=ON ..
# - make package
prepare_release:
image: gcc:6
pull: true

View File

@ -110,7 +110,7 @@ Prebuilt DEB and RPM packages for x86_64(amd64) are provided with each release.
These packages are automatically built and not tested.
Install with `dpkg -i` or `rpm -i`, respectively.
To use the DEB package on stretch, you will need [libcurlpp0](https://packages.debian.org/libcurlpp0) from buster.
To use the DEB package on stretch, you will need [libcurlpp0](https://packages.debian.org/libcurlpp0) from sid.
## From source