game/.drone.yml

32 lines
554 B
YAML
Raw Normal View History

2021-10-17 11:18:28 +00:00
---
kind: pipeline
type: docker
name: mario-build
platform:
os: linux
arch: arm64
steps:
- name: build
2021-10-18 07:54:07 +00:00
image: cppbuilder:v0.5
2021-10-17 11:18:28 +00:00
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
2021-10-18 07:54:07 +00:00
image: cppbuilder:v0.5
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 {}