2022-06-12 10:08:38 +01:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
2022-06-12 10:51:00 +01:00
|
|
|
platform:
|
|
|
|
os: linux
|
2022-06-12 11:54:10 +01:00
|
|
|
arch: arm64
|
2022-06-12 10:08:38 +01:00
|
|
|
|
2022-06-12 21:44:49 +01:00
|
|
|
trigger:
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
2022-06-12 10:08:38 +01:00
|
|
|
steps:
|
2022-06-12 17:35:49 +01:00
|
|
|
- name: Build
|
2022-06-12 21:44:49 +01:00
|
|
|
image: rg.fr-par.scw.cloud/serene/llvm:15-8
|
2022-06-12 10:08:38 +01:00
|
|
|
commands:
|
2022-06-12 18:07:06 +01:00
|
|
|
- cmake --version
|
2022-06-12 17:35:12 +01:00
|
|
|
- ./builder build
|
2022-06-12 22:34:12 +01:00
|
|
|
|
|
|
|
- name: Clang Tidy
|
|
|
|
image: rg.fr-par.scw.cloud/serene/llvm:15-8
|
|
|
|
commands:
|
|
|
|
- ./builder build-tidy
|
|
|
|
|
|
|
|
- name: Linters
|
2022-06-12 21:44:49 +01:00
|
|
|
image: rg.fr-par.scw.cloud/serene/llvm:15-8
|
|
|
|
commands:
|
2022-06-12 22:34:12 +01:00
|
|
|
- pre-commit run cppcheck -a
|
|
|
|
- pre-commit run include-what-you-use -a
|
|
|
|
- pre-commit run shell-lint -a
|