game/.drone.yml

32 lines
598 B
YAML
Raw Normal View History

2021-10-17 11:18:28 +00:00
---
kind: pipeline
2022-01-06 23:47:48 +00:00
type: kubernetes
2021-10-17 11:18:28 +00:00
name: mario-build
platform:
os: linux
arch: arm64
steps:
- name: build
2022-05-23 20:57:04 +00:00
image: docker.zvon.tech/cppbuilder:v0.06
2021-10-17 11:18:28 +00:00
commands:
- cd mario
- mkdir build
- cd build
- cmake ..
- make
---
kind: pipeline
2022-01-06 23:47:48 +00:00
type: kubernetes
2021-10-17 11:18:28 +00:00
name: mario-formatting
platform:
os: linux
arch: arm64
steps:
- name: formatting-check
2022-05-23 20:57:04 +00:00
image: docker.zvon.tech/cppbuilder:v0.06
2021-10-17 11:18:28 +00:00
commands:
- cd mario
2021-10-18 08:10:28 +00:00
- 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 {}