Files
game/.drone.yml
T

37 lines
787 B
YAML

---
kind: pipeline
type: kubernetes
name: mario-build
platform:
os: linux
arch: arm64
steps:
#- name: build
# image: docker.zvon.tech/cppbuilder:v0.06
# commands:
# - cd mario
# - mkdir build
# - cd build
# - cmake ..
# - make
- 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 {}
when:
status:
- failure
- success
- name: notify
image: docker.zvon.tech/drone-email:v0.01
settings:
host: mail.zvon.tech
username:
from_secret: email_user
password:
from_secret: email_password
port: 465
from: Drone <drone@zvon.tech>