serene/.ci.yml

31 lines
538 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
- name: Clang Tidy
image: rg.fr-par.scw.cloud/serene/llvm:15-8
commands:
- ./builder build-tidy
- name: Linters
image: rg.fr-par.scw.cloud/serene/llvm:15-8
commands:
- pre-commit run cppcheck -a
- pre-commit run include-what-you-use -a
- pre-commit run shell-lint -a