CI: Renamed pipelines.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
570aa32edf
commit
6543ea4b51
59
.drone.yml
59
.drone.yml
|
@ -1,5 +1,9 @@
|
|||
kind: pipeline
|
||||
name: on_push
|
||||
name: x86_64
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
volumes:
|
||||
- name: debian-package-cache
|
||||
|
@ -162,52 +166,11 @@ steps:
|
|||
|
||||
---
|
||||
kind: pipeline
|
||||
name: on_push arm
|
||||
name: packages x86_64
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm
|
||||
|
||||
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
|
||||
arch: amd64
|
||||
|
||||
volumes:
|
||||
- name: debian-package-cache
|
||||
|
@ -222,7 +185,7 @@ trigger:
|
|||
- tag
|
||||
|
||||
steps:
|
||||
- name: package_deb
|
||||
- name: deb
|
||||
image: debian:stretch-slim
|
||||
pull: always
|
||||
environment:
|
||||
|
@ -248,7 +211,7 @@ steps:
|
|||
- name: debian-package-cache
|
||||
path: /var/cache/apt/archives
|
||||
|
||||
- name: package_rpm
|
||||
- name: rpm
|
||||
image: centos:7
|
||||
pull: always
|
||||
environment:
|
||||
|
@ -298,8 +261,8 @@ kind: pipeline
|
|||
name: notify
|
||||
|
||||
depends_on:
|
||||
- on_push
|
||||
- on_tag
|
||||
- x86_64
|
||||
- packages x86_64
|
||||
|
||||
trigger:
|
||||
status:
|
||||
|
|
Reference in New Issue
Block a user