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-18 11:05:54 +01:00
|
|
|
- ./builder build -DLLVM_USE_PERF=ON
|
2022-06-13 21:09:11 +01:00
|
|
|
- ln -s build/compile_commands.json ./compile_commands.json
|
2022-06-12 22:34:12 +01:00
|
|
|
|
|
|
|
- name: Linters
|
2022-06-12 21:44:49 +01:00
|
|
|
image: rg.fr-par.scw.cloud/serene/llvm:15-8
|
|
|
|
commands:
|
2022-06-13 22:26:23 +01:00
|
|
|
- pre-commit run clang-format -a
|
2022-06-12 22:34:12 +01:00
|
|
|
- pre-commit run cppcheck -a
|
|
|
|
- pre-commit run shell-lint -a
|