This commit is contained in:
parent
f137f6609f
commit
e6df794618
19
.drone.yml
19
.drone.yml
@ -15,17 +15,18 @@ steps:
|
||||
- cd build
|
||||
- cmake ..
|
||||
- make
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: mario-formatting
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: formatting-check
|
||||
image: docker.zvon.tech/cppbuilder:v0.06
|
||||
commands:
|
||||
- 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 {}
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user