parent
e8d27eeef2
commit
7e459c259b
39
.drone.yml
39
.drone.yml
|
@ -2,17 +2,46 @@ pipeline:
|
||||||
download:
|
download:
|
||||||
image: plugins/download
|
image: plugins/download
|
||||||
pull: true
|
pull: true
|
||||||
source: https://schlomp.space/attachments/41e6e007-d8fb-483e-90e6-68b98e114562
|
source: https://schlomp.space/attachments/67bbc1cd-03e1-4bd5-8e29-5c4e41e64366
|
||||||
destination: mastodon-cpp.deb
|
destination: mastodon-cpp.deb
|
||||||
build:
|
gcc6:
|
||||||
image: debian:stretch-slim
|
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 -qy libcurl4-openssl-dev libboost-all-dev
|
||||||
|
- apt-get install -qy -t stretch cmake libjsoncpp-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
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list.d/buster.list
|
- 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
|
- echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
|
||||||
- apt-get update -q
|
- apt-get update -q
|
||||||
- apt-get install -qy build-essential cmake pkg-config
|
- apt-get install -qy cmake libcurl4-openssl-dev libjsoncpp-dev libboost-all-dev
|
||||||
- apt-get install -qy libcurl4-openssl-dev libjsoncpp-dev libboost-all-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
|
||||||
|
gcc8:
|
||||||
|
image: gcc:8
|
||||||
|
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 cmake libcurl4-openssl-dev libjsoncpp-dev libboost-all-dev
|
||||||
- apt-get install -qy -t buster libcurlpp-dev
|
- apt-get install -qy -t buster libcurlpp-dev
|
||||||
- dpkg -i mastodon-cpp.deb
|
- dpkg -i mastodon-cpp.deb
|
||||||
- mkdir -p build && cd build
|
- mkdir -p build && cd build
|
||||||
|
|
Loading…
Reference in New Issue
Block a user