blob: 63cedb6b4058a3b52a678d18bef11f1eb352b0b0 [file] [log] [blame]
Roman Stratiienko227aae42021-02-25 18:33:26 +02001image: ubuntu:20.04
Stefan Schake02346782018-05-05 02:39:33 +02002
3before_script:
4 - apt-get --quiet update --yes >/dev/null
Roman Stratiienkod518a052021-02-25 19:15:14 +02005 - apt-get --quiet install --yes clang-11 clang-tidy-11 clang-format-11 git libdrm-dev >/dev/null
Stefan Schake02346782018-05-05 02:39:33 +02006
7stages:
Roman Stratiienkod518a052021-02-25 19:15:14 +02008 - build
Stefan Schake02346782018-05-05 02:39:33 +02009 - style
10
Roman Stratiienkod518a052021-02-25 19:15:14 +020011build:
12 stage: build
13 script: "./.ci/.gitlab-ci-clang-build.sh"
14 artifacts:
15 when: on_failure
16 untracked: true
17
Sean Paul592c98a2018-09-04 15:30:29 -040018checkstyle:
Stefan Schake02346782018-05-05 02:39:33 +020019 stage: style
Roman Stratiienkod518a052021-02-25 19:15:14 +020020 script: "./.ci/.gitlab-ci-checkcommit.sh"
21 artifacts:
22 when: on_failure
23 untracked: true
24
25tidy-coarse:
26 stage: style
27 script: "./.ci/.gitlab-ci-clang-tidy-coarse.sh"
28 artifacts:
29 when: on_failure
30 untracked: true
31
32tidy-fine:
33 stage: style
34 script: "./.ci/.gitlab-ci-clang-tidy-fine.sh"
Stefan Schake02346782018-05-05 02:39:33 +020035 artifacts:
36 when: on_failure
Sean Paul68a78ef2018-09-04 15:32:26 -040037 untracked: true