--- 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 {} - 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