serene/.ci.yml

27 lines
508 B
YAML

kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm64
trigger:
when:
branch:
- master
steps:
- name: Build
image: rg.fr-par.scw.cloud/serene/llvm:15-8
commands:
- cmake --version
- ./builder build -DLLVM_USE_PERF=ON
- ln -s build/compile_commands.json ./compile_commands.json
- name: Linters
image: rg.fr-par.scw.cloud/serene/llvm:15-8
commands:
- pre-commit run clang-format -a
- pre-commit run cppcheck -a
- pre-commit run shell-lint -a