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