Roman Stratiienko | 227aae4 | 2021-02-25 18:33:26 +0200 | [diff] [blame] | 1 | image: ubuntu:20.04 |
Stefan Schake | 0234678 | 2018-05-05 02:39:33 +0200 | [diff] [blame] | 2 | |
| 3 | before_script: |
| 4 | - apt-get --quiet update --yes >/dev/null |
Roman Stratiienko | d518a05 | 2021-02-25 19:15:14 +0200 | [diff] [blame^] | 5 | - apt-get --quiet install --yes clang-11 clang-tidy-11 clang-format-11 git libdrm-dev >/dev/null |
Stefan Schake | 0234678 | 2018-05-05 02:39:33 +0200 | [diff] [blame] | 6 | |
| 7 | stages: |
Roman Stratiienko | d518a05 | 2021-02-25 19:15:14 +0200 | [diff] [blame^] | 8 | - build |
Stefan Schake | 0234678 | 2018-05-05 02:39:33 +0200 | [diff] [blame] | 9 | - style |
| 10 | |
Roman Stratiienko | d518a05 | 2021-02-25 19:15:14 +0200 | [diff] [blame^] | 11 | build: |
| 12 | stage: build |
| 13 | script: "./.ci/.gitlab-ci-clang-build.sh" |
| 14 | artifacts: |
| 15 | when: on_failure |
| 16 | untracked: true |
| 17 | |
Sean Paul | 592c98a | 2018-09-04 15:30:29 -0400 | [diff] [blame] | 18 | checkstyle: |
Stefan Schake | 0234678 | 2018-05-05 02:39:33 +0200 | [diff] [blame] | 19 | stage: style |
Roman Stratiienko | d518a05 | 2021-02-25 19:15:14 +0200 | [diff] [blame^] | 20 | script: "./.ci/.gitlab-ci-checkcommit.sh" |
| 21 | artifacts: |
| 22 | when: on_failure |
| 23 | untracked: true |
| 24 | |
| 25 | tidy-coarse: |
| 26 | stage: style |
| 27 | script: "./.ci/.gitlab-ci-clang-tidy-coarse.sh" |
| 28 | artifacts: |
| 29 | when: on_failure |
| 30 | untracked: true |
| 31 | |
| 32 | tidy-fine: |
| 33 | stage: style |
| 34 | script: "./.ci/.gitlab-ci-clang-tidy-fine.sh" |
Stefan Schake | 0234678 | 2018-05-05 02:39:33 +0200 | [diff] [blame] | 35 | artifacts: |
| 36 | when: on_failure |
Sean Paul | 68a78ef | 2018-09-04 15:32:26 -0400 | [diff] [blame] | 37 | untracked: true |