diff options
author | tastytea | 2020-01-03 08:44:55 +0100 |
---|---|---|
committer | tastytea | 2020-01-03 08:44:55 +0100 |
commit | dd93dab0a663850358a0d69883f0f94ac93a52f8 (patch) | |
tree | 62be9c6ad3ad211d8343d11663c9688832868872 | |
parent | 5dc047811e29670f924f9123b6b96949b24e3363 (diff) | |
download | mastodonpp-dd93dab0a663850358a0d69883f0f94ac93a52f8.tar mastodonpp-dd93dab0a663850358a0d69883f0f94ac93a52f8.tar.gz mastodonpp-dd93dab0a663850358a0d69883f0f94ac93a52f8.zip |
Add Drone CI recipe.
-rw-r--r-- | .drone.yml | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..867a640 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,69 @@ +# -*- 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: +- 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 + - apt-get install -qq build-essential cmake + - rm -rf build && mkdir -p build && cd build + - cmake -G "Unix Makefiles" .. + - 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 + pull: always + environment: + CXX: g++-7 + 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 + - apt-get install -qq build-essential cmake + - rm -rf build && mkdir -p build && cd build + - cmake -G "Unix Makefiles" .. + - make VERBOSE=1 + - make install DESTDIR=install + volumes: + - name: debian-package-cache + path: /var/cache/apt/archives + +- name: notify + image: drillster/drone-email + pull: always + settings: + host: cryptoparty-celle.de + from: drone@tzend.de + username: + from_secret: email_username + password: + from_secret: email_password + when: + status: [ changed, failure ] |