expandurl-mastodon/.drone.yml

75 lines
2.9 KiB
YAML
Raw Normal View History

pipeline:
download:
image: plugins/download
2018-06-19 09:34:57 +02:00
pull: true
2019-01-27 04:51:03 +01:00
source: https://schlomp.space/attachments/5ab8f994-669a-47f8-8ac7-ed5902ad0339
destination: mastodon-cpp.deb
2018-08-14 15:56:53 +02:00
# 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
2018-08-14 15:56:53 +02:00
# - 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
2018-08-14 15:56:53 +02:00
# - dpkg -i mastodon-cpp.deb
# - rm -rf build && mkdir -p build && cd build
# - cmake ..
# - make VERBOSE=1
# - make install DESTDIR=install
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 sid main" >> /etc/apt/sources.list.d/sid.list
2018-08-14 15:56:53 +02:00
- 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
2018-08-14 15:56:53 +02:00
- dpkg -i mastodon-cpp.deb
- rm -rf build && 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 sid main" >> /etc/apt/sources.list.d/sid.list
2018-08-14 15:56:53 +02:00
- echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
- apt-get update -q
- apt-get install -qy cmake libcurl4-openssl-dev libjsoncpp-dev libxdg-basedir-dev
- apt-get install -qy -t sid libcurlpp-dev
2018-08-14 15:56:53 +02:00
- dpkg -i mastodon-cpp.deb
- rm -rf build && mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install
gcc8:
image: gcc:8
2018-06-12 08:14:57 +02:00
pull: true
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
2018-06-13 00:56:02 +02:00
- apt-get update -q
2018-08-14 15:56:53 +02:00
- apt-get install -qy cmake libcurl4-openssl-dev libjsoncpp-dev libxdg-basedir-dev
- apt-get install -qy -t sid libcurlpp-dev
2018-06-12 08:14:57 +02:00
- dpkg -i mastodon-cpp.deb
2018-08-14 15:56:53 +02:00
- rm -rf build && mkdir -p build && cd build
2018-06-12 08:14:57 +02:00
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install
2018-06-13 00:56:02 +02:00
notify:
image: drillster/drone-email
2018-06-19 09:34:57 +02:00
pull: true
2018-06-13 00:56:02 +02:00
host: cryptoparty-celle.de
secrets: [ email_username, email_password ]
from: drone@tzend.de
when:
status: [ changed, failure ]