serene/.ci.yml

27 lines
508 B
YAML
Raw Normal View History

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:
- cmake --version
- ./builder build -DLLVM_USE_PERF=ON
- 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