Added drone file
the build was successful Details

This commit is contained in:
tastytea 2018-08-11 08:44:01 +02:00
parent a6dfd3da74
commit 682459e8ed
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 58 additions and 1 deletions

57
.drone.yml Normal file
View File

@ -0,0 +1,57 @@
pipeline:
gcc5:
image: gcc:5
pull: true
commands:
- echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list.d/stretch.list
- echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release
- apt-get update -q
- apt-get install -qyt stretch cmake libjsoncpp-dev
- apt-get install -qy libxdg-basedir-dev
- rm -rf build && mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install
gcc6:
image: gcc:6
pull: true
commands:
- echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list.d/stretch.list
- echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release
- apt-get update -q
- apt-get install -qyt stretch cmake libjsoncpp-dev
- apt-get install -qy libxdg-basedir-dev
- rm -rf build && mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install
gcc7:
image: gcc:7
pull: true
commands:
- apt-get update -q
- apt-get install -qyt stretch cmake
- apt-get install -qy libjsoncpp-dev libxdg-basedir-dev
- rm -rf build && mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install
gcc8:
image: gcc:8
pull: true
commands:
- apt-get update -q
- apt-get install -qyt stretch cmake
- apt-get install -qy libjsoncpp-dev libxdg-basedir-dev
- rm -rf build && mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install
notify:
image: drillster/drone-email
pull: true
host: cryptoparty-celle.de
secrets: [ email_username, email_password ]
from: drone@tzend.de
when:
status: [ changed, failure ]

View File

@ -4,7 +4,7 @@ necessary.
### Dependencies
* C++ compiler
* C++ compiler (Tested: g++ 5/6/7/8)
* [cmake](https://cmake.org/)
* [pkgconfig](https://pkgconfig.freedesktop.org/wiki/)
* [jsoncpp](https://github.com/open-source-parsers/jsoncpp)