The current tarball seems to be missing some includes for libdisplay-info, this probably happened when trying to resolve some clank incompatibilities. Overall the aospless flow should probably be more robust/less error prone. Change-Id: I35d785470440132bcff75baac089efdac3be849f signed-off-by: Lucas Berthou <berlu@google.com>
58 lines
1.7 KiB
YAML
58 lines
1.7 KiB
YAML
image: ubuntu:24.10
|
|
|
|
workflow:
|
|
rules:
|
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
|
- if: $CI_PIPELINE_SOURCE == 'push'
|
|
|
|
variables:
|
|
DEBIAN_FRONTEND: noninteractive
|
|
|
|
before_script:
|
|
- apt-get --quiet update --yes >/dev/null
|
|
- apt-get --quiet install --yes clang-19 clang-tidy-19 clang-format-19 git libdrm-dev blueprint-tools libgtest-dev make >/dev/null
|
|
- apt-get --quiet install --yes clang llvm make python3 wget sudo rsync lld pkg-config ninja-build meson >/dev/null
|
|
- apt-get --quiet install --yes python3-mako python3-jinja2 python3-ply python3-yaml >/dev/null
|
|
|
|
stages:
|
|
- build
|
|
- tidy
|
|
- style
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- mkdir -p install/arm64
|
|
- cd ..
|
|
- rm -f aospless_drm_hwcomposer_arm64.tar.xz
|
|
- rm -rf aospless/*
|
|
- wget https://gitlab.freedesktop.org/-/project/5/uploads/fc5d1db3b2acfd4de41b86fead784ebe/aospless_drm_hwcomposer_arm64.tar.xz
|
|
- tar xf aospless_drm_hwcomposer_arm64.tar.xz
|
|
- rm -rf aospless/src
|
|
- ln -s ../drm-hwcomposer/ aospless/src
|
|
- make -C ./aospless install
|
|
- cp -r aospless/install/* drm-hwcomposer/install/arm64
|
|
- ls drm-hwcomposer/install/arm64
|
|
|
|
artifacts:
|
|
paths:
|
|
- install/
|
|
expire_in: 1 week
|
|
|
|
tidy:
|
|
stage: tidy
|
|
script:
|
|
- cd ..
|
|
- rm -f aospless_drm_hwcomposer_arm64.tar.xz
|
|
- rm -rf aospless/*
|
|
- wget https://gitlab.freedesktop.org/-/project/5/uploads/fc5d1db3b2acfd4de41b86fead784ebe/aospless_drm_hwcomposer_arm64.tar.xz
|
|
- tar xf aospless_drm_hwcomposer_arm64.tar.xz
|
|
- cd -
|
|
- make -j$(nproc) -k -f .ci/Makefile
|
|
|
|
checkstyle:
|
|
stage: style
|
|
script: "./.ci/.gitlab-ci-checkcommit.sh"
|
|
artifacts:
|
|
when: on_failure
|
|
untracked: true
|