drm_hwcomposer: CI: Replace shell scripts with Makefile
This won't make much benefits for CI, but for local native builds will significantly speed-up build cycle by allowing parallel build and by using dependency tracking logic. Signed-off-by: Roman Stratiienko <roman.o.stratiienko@globallogic.com>
This commit is contained in:
parent
5f2f3ce3bc
commit
cef5c77ef9
7 changed files with 150 additions and 131 deletions
|
|
@ -5,7 +5,7 @@ variables:
|
|||
|
||||
before_script:
|
||||
- apt-get --quiet update --yes >/dev/null
|
||||
- apt-get --quiet install --yes clang-12 clang-tidy-12 clang-format-12 git libdrm-dev blueprint-tools libgtest-dev >/dev/null
|
||||
- apt-get --quiet install --yes clang-12 clang-tidy-12 clang-format-12 git libdrm-dev blueprint-tools libgtest-dev make >/dev/null
|
||||
|
||||
stages:
|
||||
- build
|
||||
|
|
@ -13,7 +13,8 @@ stages:
|
|||
|
||||
build:
|
||||
stage: build
|
||||
script: "./.ci/.gitlab-ci-clang-build.sh"
|
||||
script:
|
||||
- make -f .ci/Makefile
|
||||
artifacts:
|
||||
when: on_failure
|
||||
untracked: true
|
||||
|
|
@ -24,17 +25,3 @@ checkstyle:
|
|||
artifacts:
|
||||
when: on_failure
|
||||
untracked: true
|
||||
|
||||
tidy-coarse:
|
||||
stage: style
|
||||
script: "./.ci/.gitlab-ci-clang-tidy-coarse.sh"
|
||||
artifacts:
|
||||
when: on_failure
|
||||
untracked: true
|
||||
|
||||
tidy-fine:
|
||||
stage: style
|
||||
script: "./.ci/.gitlab-ci-clang-tidy-fine.sh"
|
||||
artifacts:
|
||||
when: on_failure
|
||||
untracked: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue