Update CI recipe: Remove restclient-cpp, re-enable Ubuntu bionic.
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
3955cd95a1
commit
8481575705
73
.drone.yml
73
.drone.yml
@ -19,18 +19,11 @@ steps:
|
|||||||
source: https://schlomp.space/tastytea/mastodonpp/releases/download/0.5.7/libmastodonpp_0.5.7-0_amd64_buster.deb
|
source: https://schlomp.space/tastytea/mastodonpp/releases/download/0.5.7/libmastodonpp_0.5.7-0_amd64_buster.deb
|
||||||
destination: mastodonpp_buster.deb
|
destination: mastodonpp_buster.deb
|
||||||
|
|
||||||
# - name: download mastodonpp for bionic
|
- name: download mastodonpp for bionic
|
||||||
# image: plugins/download
|
|
||||||
# settings:
|
|
||||||
# source: https://schlomp.space/tastytea/mastodonpp/releases/download/0.4.0/libmastodonpp_0.4.0-0_amd64_bionic.deb
|
|
||||||
# destination: mastodonpp_bionic.deb
|
|
||||||
|
|
||||||
# Workaround until the debian packages are fixed.
|
|
||||||
- name: download restclient-cpp source
|
|
||||||
image: plugins/download
|
image: plugins/download
|
||||||
settings:
|
settings:
|
||||||
source: https://github.com/mrtazz/restclient-cpp/archive/0.5.1.tar.gz
|
source: https://schlomp.space/tastytea/mastodonpp/releases/download/0.5.7/libmastodonpp_0.5.7-0_amd64_bionic.deb
|
||||||
destination: restclient-cpp.tar.gz
|
destination: mastodonpp_bionic.deb
|
||||||
|
|
||||||
- name: GCC 8 on Debian buster
|
- name: GCC 8 on Debian buster
|
||||||
image: debian:buster-slim
|
image: debian:buster-slim
|
||||||
@ -44,19 +37,9 @@ steps:
|
|||||||
- rm /etc/apt/apt.conf.d/docker-clean
|
- rm /etc/apt/apt.conf.d/docker-clean
|
||||||
- alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get'
|
- alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get'
|
||||||
- apt-get update -q
|
- 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 pkg-config asciidoc
|
- apt-get install -qq build-essential cmake pkg-config asciidoc
|
||||||
- apt-get install -qq libboost-filesystem-dev libboost-log-dev libboost-regex-dev libjsoncpp-dev catch libcurl4-openssl-dev restclient-cpp
|
- apt-get install -qq libboost-filesystem-dev libboost-log-dev libboost-regex-dev libjsoncpp-dev catch libcurl4-openssl-dev
|
||||||
- apt-get -qq install ./mastodonpp_buster.deb
|
- apt-get -qq install ./mastodonpp_buster.deb
|
||||||
- tar -xf restclient-cpp.tar.gz
|
|
||||||
- cd restclient-cpp-*
|
|
||||||
- cmake -DCMAKE_INSTALL_PREFIX=/usr .
|
|
||||||
- cmake --build .
|
|
||||||
- make install
|
|
||||||
- cd ..
|
|
||||||
- rm -rf build && mkdir -p build && cd build
|
- rm -rf build && mkdir -p build && cd build
|
||||||
- cmake ..
|
- cmake ..
|
||||||
- make VERBOSE=1
|
- make VERBOSE=1
|
||||||
@ -65,32 +48,28 @@ steps:
|
|||||||
- name: debian-package-cache
|
- name: debian-package-cache
|
||||||
path: /var/cache/apt/archives
|
path: /var/cache/apt/archives
|
||||||
|
|
||||||
# - name: GCC 7 on Ubuntu bionic
|
- name: GCC 7 on Ubuntu bionic
|
||||||
# image: ubuntu:bionic
|
image: ubuntu:bionic
|
||||||
# pull: always
|
pull: always
|
||||||
# environment:
|
environment:
|
||||||
# CXX: g++-7
|
CXX: g++-7
|
||||||
# CXXFLAGS: -pipe -O2
|
CXXFLAGS: -pipe -O2
|
||||||
# DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
# LANG: C.utf8
|
LANG: C.utf8
|
||||||
# commands:
|
commands:
|
||||||
# - rm /etc/apt/apt.conf.d/docker-clean
|
- rm /etc/apt/apt.conf.d/docker-clean
|
||||||
# - alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get'
|
- alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get'
|
||||||
# - apt-get update -q
|
- apt-get update -q
|
||||||
# - echo "deb https://packagecloud.io/mrtazz/restclient-cpp/ubuntu/ bionic main" > /etc/apt/sources.list.d/restclient-cpp.list
|
- apt-get install -qq build-essential cmake pkg-config asciidoc
|
||||||
# - apt-get install -qq curl gnupg apt-transport-https
|
- apt-get install -qq libboost-filesystem-dev libboost-log-dev libboost-regex-dev libjsoncpp-dev catch libcurl4-openssl-dev
|
||||||
# - curl -L https://packagecloud.io/mrtazz/restclient-cpp/gpgkey | apt-key add -
|
- apt-get -qq install ./mastodonpp_bionic.deb
|
||||||
# - apt-get update -q
|
- rm -rf build && mkdir -p build && cd build
|
||||||
# - apt-get install -qq build-essential cmake pkg-config asciidoc
|
- cmake ..
|
||||||
# - apt-get install -qq libboost-filesystem-dev libboost-log-dev libboost-regex-dev libjsoncpp-dev catch libcurl4-openssl-dev restclient-cpp
|
- make VERBOSE=1
|
||||||
# - apt-get -qq install ./mastodonpp_bionic.deb
|
- make install DESTDIR=install
|
||||||
# - rm -rf build && mkdir -p build && cd build
|
volumes:
|
||||||
# - cmake ..
|
- name: debian-package-cache
|
||||||
# - make VERBOSE=1
|
path: /var/cache/apt/archives
|
||||||
# - make install DESTDIR=install
|
|
||||||
# volumes:
|
|
||||||
# - name: debian-package-cache
|
|
||||||
# path: /var/cache/apt/archives
|
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: drillster/drone-email
|
||||||
|
Loading…
x
Reference in New Issue
Block a user