Compare commits

...

1 Commits

Author SHA1 Message Date
tastytea b3d24f2342
Enhanced CI
the build failed Details
2018-08-14 15:56:53 +02:00
1 changed files with 19 additions and 3 deletions

View File

@ -4,14 +4,30 @@ pipeline:
pull: true
source: https://schlomp.space/attachments/41e6e007-d8fb-483e-90e6-68b98e114562
destination: mastodon-cpp.deb
build:
image: debian:stretch-slim
gcc6:
image: gcc:6
pull: true
commands:
- echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list.d/stretch.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 -qyt stretch cmake
- 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 ..
- make VERBOSE=1
- make install DESTDIR=install
gcc7:
image: gcc:7
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 cmake
- 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