blob: 41d38badbf566ddbb71373b4f86d799f0430b4cd [file] [log] [blame]
Roman Stratiienkod26619b2021-08-04 19:55:37 +03001image: ubuntu:21.04
2
3variables:
4 DEBIAN_FRONTEND: noninteractive
Stefan Schake02346782018-05-05 02:39:33 +02005
6before_script:
7 - apt-get --quiet update --yes >/dev/null
Roman Stratiienkod26619b2021-08-04 19:55:37 +03008 - apt-get --quiet install --yes clang-12 clang-tidy-12 clang-format-12 git libdrm-dev blueprint-tools libgtest-dev >/dev/null
Stefan Schake02346782018-05-05 02:39:33 +02009
10stages:
Roman Stratiienkod518a052021-02-25 19:15:14 +020011 - build
Stefan Schake02346782018-05-05 02:39:33 +020012 - style
13
Roman Stratiienkod518a052021-02-25 19:15:14 +020014build:
15 stage: build
16 script: "./.ci/.gitlab-ci-clang-build.sh"
17 artifacts:
18 when: on_failure
19 untracked: true
20
Sean Paul592c98a2018-09-04 15:30:29 -040021checkstyle:
Stefan Schake02346782018-05-05 02:39:33 +020022 stage: style
Roman Stratiienkod518a052021-02-25 19:15:14 +020023 script: "./.ci/.gitlab-ci-checkcommit.sh"
24 artifacts:
25 when: on_failure
26 untracked: true
27
28tidy-coarse:
29 stage: style
30 script: "./.ci/.gitlab-ci-clang-tidy-coarse.sh"
31 artifacts:
32 when: on_failure
33 untracked: true
34
35tidy-fine:
36 stage: style
37 script: "./.ci/.gitlab-ci-clang-tidy-fine.sh"
Stefan Schake02346782018-05-05 02:39:33 +020038 artifacts:
39 when: on_failure
Sean Paul68a78ef2018-09-04 15:32:26 -040040 untracked: true