game/.drone.yml
2021-10-18 10:10:28 +02:00

32 lines
554 B
YAML

---
kind: pipeline
type: docker
name: mario-build
platform:
os: linux
arch: arm64
steps:
- name: build
image: cppbuilder:v0.5
commands:
- cd mario
- mkdir build
- cd build
- cmake ..
- make
---
kind: pipeline
type: docker
name: mario-formatting
platform:
os: linux
arch: arm64
steps:
- name: formatting-check
image: cppbuilder:v0.5
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 {}