aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: eb0c2654813fbcbc2c05a8a30c9b1851dc8e481b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
image: ubuntu:22.04

variables:
  DEBIAN_FRONTEND: noninteractive

before_script:
  - apt-get --quiet update --yes >/dev/null
  - apt-get --quiet install --yes clang-14 clang-tidy-14 clang-format-14 git libdrm-dev blueprint-tools libgtest-dev make >/dev/null

stages:
  - build
  - style

build:
  stage: build
  script:
    - make -f .ci/Makefile
  artifacts:
    when: on_failure
    untracked: true

checkstyle:
  stage: style
  script: "./.ci/.gitlab-ci-checkcommit.sh"
  artifacts:
    when: on_failure
    untracked: true