game/.drone.yml
zvon 2dff727934
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone Build encountered an error
Change drone config to use kubernetes
2022-01-07 00:47:48 +01:00

32 lines
562 B
YAML

---
kind: pipeline
type: kubernetes
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: kubernetes
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 {}