Try notification
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
zv0n 2022-09-28 14:18:37 +02:00
parent f137f6609f
commit e6df794618

View File

@ -15,17 +15,18 @@ steps:
- cd build - cd build
- cmake .. - cmake ..
- make - make
---
kind: pipeline
type: kubernetes
name: mario-formatting
platform:
os: linux
arch: arm64
steps:
- name: formatting-check - name: formatting-check
image: docker.zvon.tech/cppbuilder:v0.06 image: docker.zvon.tech/cppbuilder:v0.06
commands: commands:
- cd mario - cd mario
- find . -path "./build" -prune -or -path "./.cache" -prune -or -iname "*.cpp" -or -iname "*.hpp" -print | xargs -P0 -I{} clang-format -style=file --dry-run -Werror {} - find . -path "./build" -prune -or -path "./.cache" -prune -or -iname "*.cpp" -or -iname "*.hpp" -print | xargs -P0 -I{} clang-format -style=file --dry-run -Werror {}
- name: notify
image: drillster/drone-email
settings:
host: mail.zvon.tech
username:
from_secret: email_user
password:
from_secret: email_password
port: 465
from: drone@zvon.tech