This repository has been archived on 2020-05-16. You can view files and clone it, but cannot push or open issues or pull requests.
xdgcfg/.drone.yml

106 lines
4.5 KiB
YAML
Raw Normal View History

2018-08-11 07:43:34 +02:00
pipeline:
gcc5:
2018-11-02 23:13:48 +01:00
image: debian:jessie-slim
2018-08-11 07:43:34 +02:00
pull: true
2018-11-02 23:13:48 +01:00
environment:
- CXX=g++-5
- CXXFLAGS=-pipe -O2
2018-08-11 07:43:34 +02:00
commands:
2018-11-02 23:13:48 +01:00
- rm /etc/apt/apt.conf.d/docker-clean
2018-08-11 07:43:34 +02:00
- echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release
2018-11-02 23:13:48 +01:00
- echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list
- echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu trusty main" >> /etc/apt/sources.list.d/ubuntu-toolchain-r.list
- gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x60c317803a41ba51845e371a1e9377a2ba9ef27f
- gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add -
2018-08-11 07:43:34 +02:00
- apt-get update -q
2018-11-02 23:13:48 +01:00
- apt-get install -qy -t trusty g++-5
- apt-get install -qy -t jessie-backports cmake
- apt-get install -qy pkg-config libconfig++-dev libxdg-basedir-dev
2018-08-11 07:43:34 +02:00
- rm -rf build && mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install
2018-11-02 23:13:48 +01:00
volumes:
- /var/cache/debian-package-cache:/var/cache/apt/archives
2018-08-11 07:43:34 +02:00
gcc6:
2018-11-02 23:13:48 +01:00
image: debian:jessie-slim
2018-08-11 07:43:34 +02:00
pull: true
2018-11-02 23:13:48 +01:00
environment:
- CXX=g++-6
- CXXFLAGS=-pipe -O2
2018-08-11 07:43:34 +02:00
commands:
2018-11-02 23:13:48 +01:00
- rm /etc/apt/apt.conf.d/docker-clean
2018-08-11 07:43:34 +02:00
- echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release
2018-11-02 23:13:48 +01:00
- echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list
- echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu trusty main" >> /etc/apt/sources.list.d/ubuntu-toolchain-r.list
- gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x60c317803a41ba51845e371a1e9377a2ba9ef27f
- gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add -
2018-08-11 07:43:34 +02:00
- apt-get update -q
2018-11-02 23:13:48 +01:00
- apt-get install -qy -t trusty g++-6
- apt-get install -qy -t jessie-backports cmake
- apt-get install -qy pkg-config libconfig++-dev libxdg-basedir-dev
2018-08-11 07:43:34 +02:00
- rm -rf build && mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install
2018-11-02 23:13:48 +01:00
volumes:
- /var/cache/debian-package-cache:/var/cache/apt/archives
2018-08-11 07:43:34 +02:00
gcc7:
2018-11-02 23:13:48 +01:00
image: debian:jessie-slim
2018-08-11 07:43:34 +02:00
pull: true
2018-11-02 23:13:48 +01:00
environment:
- CXX=g++-7
- CXXFLAGS=-pipe -O2
2018-08-11 07:43:34 +02:00
commands:
2018-11-02 23:13:48 +01:00
- rm /etc/apt/apt.conf.d/docker-clean
- echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release
- echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list
- echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu trusty main" >> /etc/apt/sources.list.d/ubuntu-toolchain-r.list
- gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x60c317803a41ba51845e371a1e9377a2ba9ef27f
- gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add -
2018-08-11 07:43:34 +02:00
- apt-get update -q
2018-11-02 23:13:48 +01:00
- apt-get install -qy -t trusty g++-7
- apt-get install -qy -t jessie-backports cmake
- apt-get install -qy pkg-config libconfig++-dev libxdg-basedir-dev
2018-08-11 07:43:34 +02:00
- rm -rf build && mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install
2018-11-02 23:13:48 +01:00
volumes:
- /var/cache/debian-package-cache:/var/cache/apt/archives
2018-08-11 07:43:34 +02:00
gcc8:
2018-11-02 23:13:48 +01:00
image: debian:jessie-slim
2018-08-11 07:43:34 +02:00
pull: true
2018-11-02 23:13:48 +01:00
environment:
- CXX=g++-8
- CXXFLAGS=-pipe -O2
2018-08-11 07:43:34 +02:00
commands:
2018-11-02 23:13:48 +01:00
- rm /etc/apt/apt.conf.d/docker-clean
- echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release
- echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list
- echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu trusty main" >> /etc/apt/sources.list.d/ubuntu-toolchain-r.list
- gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x60c317803a41ba51845e371a1e9377a2ba9ef27f
- gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add -
2018-08-11 07:43:34 +02:00
- apt-get update -q
2018-11-02 23:13:48 +01:00
- apt-get install -qy -t trusty g++-8
- apt-get install -qy -t jessie-backports cmake
- apt-get install -qy pkg-config libconfig++-dev libxdg-basedir-dev
2018-08-11 07:43:34 +02:00
- rm -rf build && mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install
2018-11-02 23:13:48 +01:00
volumes:
- /var/cache/debian-package-cache:/var/cache/apt/archives
2018-08-11 07:43:34 +02:00
notify:
image: drillster/drone-email
pull: true
host: cryptoparty-celle.de
secrets: [ email_username, email_password ]
from: drone@tzend.de
when:
status: [ changed, failure ]