• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1workflow:
2  rules:
3    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
4    - if: $CI_PIPELINE_SOURCE == 'push'
5
6variables:
7  DEBIAN_FRONTEND: noninteractive
8  CI_TEMPLATES_COMMIT: &ci-templates-commit e195d80f35b45cc73668be3767b923fd76c70ed5
9  FDO_UPSTREAM_REPO: "drm-hwcomposer/drm-hwcomposer"
10  UBUNTU_HWC_IMAGE: "ubuntu/x86_64_hwc"
11  UBUNTU_HWC_TAG: "20250218_hwc"
12
13include:
14  - project: 'freedesktop/ci-templates'
15    ref: *ci-templates-commit
16    file:
17      - '/templates/ubuntu.yml'
18  - local: '.ci/container/.gitlab-ci.yml'
19
20stages:
21  - container
22  - build
23  - tidy
24  - style
25
26build:
27  stage: build
28  extends:
29    .use-ubuntu/x86_64_hwc
30  script:
31    - ln -s "${CI_PROJECT_DIR}" "/aospless/src"
32    - make -C /aospless install
33    - mkdir -p "${CI_PROJECT_DIR}/install/arm64"
34    - cp -r /aospless/install/* "${CI_PROJECT_DIR}/install/arm64"
35  artifacts:
36    paths:
37      - "${CI_PROJECT_DIR}/install/arm64"
38    expire_in: 1 week
39
40tidy:
41  stage: tidy
42  extends:
43    .use-ubuntu/x86_64_hwc
44  script:
45    - cp -r /aospless ../
46    - make -j$(nproc) -k -f "${CI_PROJECT_DIR}/.ci/Makefile"
47
48checkstyle:
49  stage: style
50  extends:
51    .use-ubuntu/x86_64_hwc
52  script: "./.ci/.gitlab-ci-checkcommit.sh"
53  artifacts:
54    when: on_failure
55    untracked: true
56  tags:
57    - placeholder-job
58