1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
746 B

image: ubuntu:20.10
before_script:
- apt-get --quiet update --yes >/dev/null
- apt-get --quiet install --yes clang-11 clang-tidy-11 clang-format-11 git libdrm-dev blueprint-tools libgtest-dev >/dev/null
stages:
- build
- style
build:
stage: build
script: "./.ci/.gitlab-ci-clang-build.sh"
artifacts:
when: on_failure
untracked: true
checkstyle:
stage: style
script: "./.ci/.gitlab-ci-checkcommit.sh"
artifacts:
when: on_failure
untracked: true
tidy-coarse:
stage: style
script: "./.ci/.gitlab-ci-clang-tidy-coarse.sh"
artifacts:
when: on_failure
untracked: true
tidy-fine:
stage: style
script: "./.ci/.gitlab-ci-clang-tidy-fine.sh"
artifacts:
when: on_failure
untracked: true