Drone: Re-enabled buster build.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
a11b9e0302
commit
9386681b69
64
.drone.yml
64
.drone.yml
|
@ -13,11 +13,11 @@ trigger:
|
|||
- tag
|
||||
|
||||
steps:
|
||||
# - name: download mastodon-cpp for buster
|
||||
# image: plugins/download
|
||||
# settings:
|
||||
# source: https://schlomp.space/tastytea/mastodon-cpp/releases/download/0.111.5/libmastodon-cpp_0.111.5-0_buster_amd64.deb
|
||||
# destination: mastodon-cpp_buster.deb
|
||||
- name: download mastodon-cpp for buster
|
||||
image: plugins/download
|
||||
settings:
|
||||
source: https://schlomp.space/tastytea/mastodon-cpp/releases/download/0.111.5/libmastodon-cpp_0.111.5-0_buster_amd64.deb
|
||||
destination: mastodon-cpp_buster.deb
|
||||
|
||||
- name: download mastodon-cpp for bionic
|
||||
image: plugins/download
|
||||
|
@ -25,32 +25,32 @@ steps:
|
|||
source: https://schlomp.space/tastytea/mastodon-cpp/releases/download/0.111.5/libmastodon-cpp_0.111.5-0_bionic_amd64.deb
|
||||
destination: mastodon-cpp_bionic.deb
|
||||
|
||||
# - name: GCC 8 on Debian buster
|
||||
# image: debian:buster-slim
|
||||
# pull: always
|
||||
# environment:
|
||||
# CXX: g++-8
|
||||
# CXXFLAGS: -pipe -O2
|
||||
# DEBIAN_FRONTEND: noninteractive
|
||||
# LANG: C.utf8
|
||||
# commands:
|
||||
# - rm /etc/apt/apt.conf.d/docker-clean
|
||||
# - alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get'
|
||||
# - apt-get update -q
|
||||
# - echo "deb https://packagecloud.io/mrtazz/restclient-cpp/debian/ buster main" > /etc/apt/sources.list.d/restclient-cpp.list
|
||||
# - apt-get install -qq debian-archive-keyring curl gnupg apt-transport-https
|
||||
# - curl -L https://packagecloud.io/mrtazz/restclient-cpp/gpgkey | apt-key add -
|
||||
# - apt-get update -q
|
||||
# - apt-get install -qq build-essential cmake asciidoc
|
||||
# - apt-get install -qq libboost-filesystem-dev libboost-log-dev libboost-regex-dev libjsoncpp-dev catch libcurl4-openssl-dev libcurl4 restclient-cpp libpoco-dev
|
||||
# - apt-get -qq install ./mastodon-cpp_buster.deb
|
||||
# - rm -rf build && mkdir -p build && cd build
|
||||
# - cmake ..
|
||||
# - make VERBOSE=1
|
||||
# - make install DESTDIR=install
|
||||
# volumes:
|
||||
# - name: debian-package-cache
|
||||
# path: /var/cache/apt/archives
|
||||
- name: GCC 8 on Debian buster
|
||||
image: debian:buster-slim
|
||||
pull: always
|
||||
environment:
|
||||
CXX: g++-8
|
||||
CXXFLAGS: -pipe -O2
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
LANG: C.utf8
|
||||
commands:
|
||||
- rm /etc/apt/apt.conf.d/docker-clean
|
||||
- alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get'
|
||||
- apt-get update -q
|
||||
- echo "deb https://packagecloud.io/mrtazz/restclient-cpp/debian/ buster main" > /etc/apt/sources.list.d/restclient-cpp.list
|
||||
- apt-get install -qq debian-archive-keyring curl gnupg apt-transport-https
|
||||
- curl -L https://packagecloud.io/mrtazz/restclient-cpp/gpgkey | apt-key add -
|
||||
- apt-get update -q
|
||||
- apt-get install -qq build-essential cmake asciidoc
|
||||
- apt-get install -qq libboost-filesystem-dev libboost-log-dev libboost-regex-dev libjsoncpp-dev catch libcurl4-openssl-dev restclient-cpp libpoco-dev
|
||||
- apt-get -qq install ./mastodon-cpp_buster.deb
|
||||
- rm -rf build && mkdir -p build && cd build
|
||||
- cmake ..
|
||||
- make VERBOSE=1
|
||||
- make install DESTDIR=install
|
||||
volumes:
|
||||
- name: debian-package-cache
|
||||
path: /var/cache/apt/archives
|
||||
|
||||
- name: GCC 7 on Ubuntu bionic
|
||||
image: ubuntu:bionic
|
||||
|
@ -69,7 +69,7 @@ steps:
|
|||
- curl -L https://packagecloud.io/mrtazz/restclient-cpp/gpgkey | apt-key add -
|
||||
- apt-get update -q
|
||||
- apt-get install -qq build-essential cmake asciidoc
|
||||
- apt-get install -qq libboost-filesystem-dev libboost-log-dev libboost-regex-dev libjsoncpp-dev catch libcurl4-openssl-dev libcurl3 restclient-cpp libpoco-dev
|
||||
- apt-get install -qq libboost-filesystem-dev libboost-log-dev libboost-regex-dev libjsoncpp-dev catch libcurl4-openssl-dev restclient-cpp libpoco-dev
|
||||
- apt-get -qq install ./mastodon-cpp_bionic.deb
|
||||
- rm -rf build && mkdir -p build && cd build
|
||||
- cmake ..
|
||||
|
|
Loading…
Reference in New Issue
Block a user