OSDN Git Service

drm_hwcomposer: CI: Add more source files to the build
[android-x86/external-drm_hwcomposer.git] / .gitlab-ci.yml
1 image: ubuntu:20.10
2
3 before_script:
4   - apt-get --quiet update --yes >/dev/null
5   - apt-get --quiet install --yes clang-11 clang-tidy-11 clang-format-11 git libdrm-dev blueprint-tools >/dev/null
6
7 stages:
8   - build
9   - style
10
11 build:
12   stage: build
13   script: "./.ci/.gitlab-ci-clang-build.sh"
14   artifacts:
15     when: on_failure
16     untracked: true
17
18 checkstyle:
19   stage: style
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"
35   artifacts:
36     when: on_failure
37     untracked: true