libravatarserv/.drone.yml

51 lines
1.1 KiB
YAML
Raw Normal View History

# -*- fill-column: 1000 -*-
kind: pipeline
name: build x86_64
volumes:
- name: debian-package-cache
host:
path: /var/cache/debian-package-cache
trigger:
event:
exclude:
- tag
steps:
2020-10-24 11:35:50 +02:00
- name: GCC 8 / clang 7
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
- apt-get update -q
2022-06-11 08:42:42 +02:00
- apt-get install -qq build-essential clang pkg-config cmake git libcrypto++-dev libmagick++-dev
2022-06-11 07:42:56 +02:00
- rm -rf build
- cmake -S . -B build -DLIBRAVATAR_BUNDLED_IDENTICONPP=YES
- cmake --build build
- rm -rf build
- CXX="clang++" cmake -S . -B build -DLIBRAVATAR_BUNDLED_IDENTICONPP=YES
- cmake --build build
2022-06-11 08:48:27 +02:00
- cd build && make install
2020-10-24 11:35:50 +02:00
volumes:
- name: debian-package-cache
path: /var/cache/apt/archives
- name: notification
image: drillster/drone-email
pull: always
settings:
2022-06-11 07:42:56 +02:00
host: tzend.de
2018-11-26 05:50:35 +01:00
from: drone@tzend.de
username:
from_secret: email_username
password:
from_secret: email_password
when:
status: [ changed, failure ]