.gitlab-ci.d: Split build and test in cross build job templates
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 18 Sep 2024 12:54:48 +0000 (13:54 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 25 Sep 2024 07:42:06 +0000 (09:42 +0200)
commit1cde10ef0196497941cd481760d4ec544c37d66b
tree2a0bb3c757bccf0e03779612d8ca915b08737261
parent2540a551d395179f42844d29c866402329b89b7c
.gitlab-ci.d: Split build and test in cross build job templates

In the native_build_job_template we have separate steps in the script
for the build and the test steps.  This is helpful because then
gitlab will give separate timestamps in the log view for each, and
you can see how long it took to compile vs how long to test.  In the
templates in crossbuild-template.yml, however, we do both the build
and test in a single 'make' invocation, and so we don't get the
separate timing information.

Split the build and test, in the same way we do in the native build
template.

This will also give us a place to separate out how parallel we want
to do the build by default from how parallel we want to do the tests
by default, which might be helpful in future.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240918125449.3125571-2-peter.maydell@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.d/crossbuild-template.yml