CI: Combine tools-only and envtools jobs

These jobs are to confirm specific build targets, on a Linux host.  We
can safely combine these two build tests, with a make mrproper in
between.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2023-08-20 13:31:28 -04:00
parent 9aeac898da
commit 562ed115e7
2 changed files with 6 additions and 19 deletions

View file

@ -126,7 +126,7 @@ stages:
./tools/buildman/buildman --maintainer-check || exit 0
- job: tools_only
displayName: 'Ensure host tools build'
displayName: 'Ensure host tools and env tools build'
pool:
vmImage: $(ubuntu_vm)
container:
@ -135,16 +135,7 @@ stages:
steps:
- script: |
make tools-only_config tools-only -j$(nproc)
- job: envtools
displayName: 'Ensure env tools build'
pool:
vmImage: $(ubuntu_vm)
container:
image: $(ci_runner_image)
options: $(container_option)
steps:
- script: |
make mrproper
make tools-only_config envtools -j$(nproc)
- job: utils

View file

@ -190,16 +190,12 @@ Check for configs without MAINTAINERS entry:
- ./tools/buildman/buildman --maintainer-check || exit 0
# Ensure host tools build
Build tools-only:
Build tools-only and envtools:
stage: testsuites
script:
- make tools-only_config tools-only -j$(nproc)
# Ensure env tools build
Build envtools:
stage: testsuites
script:
- make tools-only_config envtools -j$(nproc)
- make tools-only_config tools-only -j$(nproc);
make mrproper;
make tools-only_config envtools -j$(nproc)
Run binman, buildman, dtoc, Kconfig and patman testsuites:
stage: testsuites