game/.drone.yml
zvon edb8444d7d
All checks were successful
continuous-integration/drone/push Build is passing
Update drone settings
2022-05-23 22:57:04 +02:00

32 lines
598 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
---
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 {}