This commit is contained in:
parent
de07809a9d
commit
20ba5212b4
15
.drone.yml
15
.drone.yml
@ -3,10 +3,10 @@ pipeline:
|
||||
image: debian:buster-slim
|
||||
pull: true
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get install -y build-essential cmake pkg-config
|
||||
- apt-get install -y libcurl4-openssl-dev libcurlpp-dev libjsoncpp-dev
|
||||
- apt-get install -y rpm file
|
||||
- apt-get update -q
|
||||
- apt-get install -qy build-essential cmake pkg-config
|
||||
- apt-get install -qy libcurl4-openssl-dev libcurlpp-dev libjsoncpp-dev
|
||||
- apt-get install -qy rpm file
|
||||
- mkdir -p build && cd build
|
||||
- cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON ..
|
||||
- make VERBOSE=1
|
||||
@ -29,3 +29,10 @@ pipeline:
|
||||
- "mastodon-cpp-${DRONE_TAG}.ebuild"
|
||||
- "libmastodon-cpp_${DRONE_TAG}-0_amd64.deb"
|
||||
- "libmastodon-cpp-${DRONE_TAG}-0.x86_64.rpm"
|
||||
notify:
|
||||
image: drillster/drone-email
|
||||
host: cryptoparty-celle.de
|
||||
secrets: [ email_username, email_password ]
|
||||
from: drone@tzend.de
|
||||
when:
|
||||
status: [ changed, failure ]
|
||||
|
Reference in New Issue
Block a user