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 07:08:21 +00:00
|
|
|
- find . -path "./build" -prune -or \( -iname "*.cpp" -or -iname "*.hpp" \) | xargs -P0 -I{} clang-format -style=file --dry-run -Werror {}
|