CI: Renamed pipelines.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
570aa32edf
commit
6543ea4b51
59
.drone.yml
59
.drone.yml
|
@ -1,5 +1,9 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: on_push
|
name: x86_64
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: debian-package-cache
|
- name: debian-package-cache
|
||||||
|
@ -162,52 +166,11 @@ steps:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: on_push arm
|
name: packages x86_64
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: arm
|
arch: amd64
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: debian-package-cache
|
|
||||||
host:
|
|
||||||
path: /var/cache/debian-package-cache
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
exclude:
|
|
||||||
- tag
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: gcc6
|
|
||||||
image: debian:stretch-slim
|
|
||||||
pull: true
|
|
||||||
environment:
|
|
||||||
LANG: C.utf8
|
|
||||||
CXX: g++-6
|
|
||||||
CXXFLAGS: -pipe -O2
|
|
||||||
MASTODON_CPP_ACCESS_TOKEN:
|
|
||||||
from_secret: mastodon_cpp_access_token
|
|
||||||
commands:
|
|
||||||
- rm /etc/apt/apt.conf.d/docker-clean
|
|
||||||
- echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
|
|
||||||
- echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list
|
|
||||||
- apt-get update -q
|
|
||||||
- apt-get install -qy build-essential cmake pkg-config
|
|
||||||
- apt-get install -qy libcurl4-openssl-dev libjsoncpp-dev doxygen catch
|
|
||||||
- apt-get install -qy -t sid libcurlpp-dev
|
|
||||||
- rm -rf build && mkdir -p build && cd build
|
|
||||||
- cmake -DWITH_EXAMPLES=YES -DWITH_TESTS=YES -DEXTRA_TEST_ARGS="~[api]" ..
|
|
||||||
- make VERBOSE=1
|
|
||||||
- make install DESTDIR=install
|
|
||||||
- ctest
|
|
||||||
volumes:
|
|
||||||
- name: debian-package-cache
|
|
||||||
path: /var/cache/apt/archives
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: on_tag
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: debian-package-cache
|
- name: debian-package-cache
|
||||||
|
@ -222,7 +185,7 @@ trigger:
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: package_deb
|
- name: deb
|
||||||
image: debian:stretch-slim
|
image: debian:stretch-slim
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
|
@ -248,7 +211,7 @@ steps:
|
||||||
- name: debian-package-cache
|
- name: debian-package-cache
|
||||||
path: /var/cache/apt/archives
|
path: /var/cache/apt/archives
|
||||||
|
|
||||||
- name: package_rpm
|
- name: rpm
|
||||||
image: centos:7
|
image: centos:7
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
|
@ -298,8 +261,8 @@ kind: pipeline
|
||||||
name: notify
|
name: notify
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- on_push
|
- x86_64
|
||||||
- on_tag
|
- packages x86_64
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
status:
|
status:
|
||||||
|
|
Reference in New Issue