CI: migrated to Debian stretch containers.
All checks were successful
the build was successful

This commit is contained in:
tastytea 2019-01-27 05:09:43 +01:00
parent d938959598
commit 32fbdf7375
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -4,66 +4,79 @@ pipeline:
pull: true pull: true
source: https://schlomp.space/attachments/5ab8f994-669a-47f8-8ac7-ed5902ad0339 source: https://schlomp.space/attachments/5ab8f994-669a-47f8-8ac7-ed5902ad0339
destination: mastodon-cpp.deb destination: mastodon-cpp.deb
# gcc5:
# image: gcc:5
# 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 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 -qyt stretch cmake libjsoncpp-dev
# - apt-get install -qy libcurl4-openssl-dev libxdg-basedir-dev
# - apt-get install -qy -t sid libcurlpp-dev
# - dpkg -i mastodon-cpp.deb
# - rm -rf build && mkdir -p build && cd build
# - cmake ..
# - make VERBOSE=1
# - make install DESTDIR=install
gcc6: gcc6:
image: gcc:6 image: debian:stretch-slim
pull: true pull: true
environment:
- LANG=C.utf8
- CXX=g++-6
- CXXFLAGS=-pipe -O2
commands: commands:
- echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list.d/stretch.list - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
- echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.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 update -q
- apt-get install -qyt stretch cmake libjsoncpp-dev - apt-get install -qy build-essential cmake pkg-config
- apt-get install -qy libcurl4-openssl-dev libxdg-basedir-dev - apt-get install -qy libjsoncpp-dev libcurl4-openssl-dev libxdg-basedir-dev
- apt-get install -qy -t sid libcurlpp-dev - apt-get install -qy -t sid libcurlpp-dev
- dpkg -i mastodon-cpp.deb - dpkg -i mastodon-cpp.deb
- rm -rf build && mkdir -p build && cd build - rm -rf build && mkdir -p build && cd build
- cmake .. - cmake ..
- make VERBOSE=1 - make VERBOSE=1
- make install DESTDIR=install - make install DESTDIR=install
gcc7: gcc7:
image: gcc:7 image: debian:stretch-slim
pull: true pull: true
environment:
- LANG=C.utf8
- CXX=g++-7
- CXXFLAGS=-pipe -O2
commands: commands:
- 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 - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
- echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list
- echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main" >> /etc/apt/sources.list.d/ubuntu-toolchain-r.list
- apt-get update -q - apt-get update -q
- apt-get install -qy cmake libcurl4-openssl-dev libjsoncpp-dev libxdg-basedir-dev - apt-get install -qy gnupg
- gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x60c317803a41ba51845e371a1e9377a2ba9ef27f
- gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add -
- apt-get update -q
- apt-get install -qy build-essential cmake pkg-config
- apt-get install -qy -t xenial g++-7
- apt-get install -qy libjsoncpp-dev libcurl4-openssl-dev libxdg-basedir-dev
- apt-get install -qy -t sid libcurlpp-dev - apt-get install -qy -t sid libcurlpp-dev
- dpkg -i mastodon-cpp.deb - dpkg -i mastodon-cpp.deb
- rm -rf build && mkdir -p build && cd build - rm -rf build && mkdir -p build && cd build
- cmake .. - cmake ..
- make VERBOSE=1 - make VERBOSE=1
- make install DESTDIR=install - make install DESTDIR=install
gcc8: gcc8:
image: gcc:8 image: debian:stretch-slim
pull: true pull: true
environment:
- LANG=C.utf8
- CXX=g++-8
- CXXFLAGS=-pipe -O2
commands: commands:
- 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 - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
- echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list
- echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main" >> /etc/apt/sources.list.d/ubuntu-toolchain-r.list
- apt-get update -q - apt-get update -q
- apt-get install -qy cmake libcurl4-openssl-dev libjsoncpp-dev libxdg-basedir-dev - apt-get install -qy gnupg
- gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x60c317803a41ba51845e371a1e9377a2ba9ef27f
- gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add -
- apt-get update -q
- apt-get install -qy build-essential cmake pkg-config
- apt-get install -qy -t xenial g++-8
- apt-get install -qy libjsoncpp-dev libcurl4-openssl-dev libxdg-basedir-dev
- apt-get install -qy -t sid libcurlpp-dev - apt-get install -qy -t sid libcurlpp-dev
- dpkg -i mastodon-cpp.deb - dpkg -i mastodon-cpp.deb
- rm -rf build && mkdir -p build && cd build - rm -rf build && mkdir -p build && cd build
- cmake .. - cmake ..
- make VERBOSE=1 - make VERBOSE=1
- make install DESTDIR=install - make install DESTDIR=install
notify: notify:
image: drillster/drone-email image: drillster/drone-email
pull: true pull: true