OSDN Git Service

drm_hwcomposer: Remove supported()/unsupported() functions
[android-x86/external-drm_hwcomposer.git] / .gitlab-ci.yml
1 image: ubuntu:21.04
2
3 variables:
4   DEBIAN_FRONTEND: noninteractive
5
6 before_script:
7   - apt-get --quiet update --yes >/dev/null
8   - apt-get --quiet install --yes clang-12 clang-tidy-12 clang-format-12 git libdrm-dev blueprint-tools libgtest-dev make >/dev/null
9
10 stages:
11   - build
12   - style
13
14 build:
15   stage: build
16   script:
17     - make -f .ci/Makefile
18   artifacts:
19     when: on_failure
20     untracked: true
21
22 checkstyle:
23   stage: style
24   script: "./.ci/.gitlab-ci-checkcommit.sh"
25   artifacts:
26     when: on_failure
27     untracked: true