qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gitlab: move linux-user plugins test across to gitlab


From: Thomas Huth
Subject: Re: [PATCH] gitlab: move linux-user plugins test across to gitlab
Date: Fri, 2 Oct 2020 07:12:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

On 01/10/2020 23.51, Alex Bennée wrote:
> Even with the recent split moving beefier plugins into contrib and
> dropping them from the check-tcg tests we are still hitting time
> limits. This possibly points to a slow down of --debug-tcg but seeing
> as we are migrating stuff to gitlab we might as well take advantage of
> the ability to properly split our builds.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  .gitlab-ci.yml | 23 +++++++++++++++++++++++
>  .travis.yml    | 11 -----------
>  2 files changed, 23 insertions(+), 11 deletions(-)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index c265e7f8ab..cc16385d65 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -244,6 +244,29 @@ build-user:
>      CONFIGURE_ARGS: --disable-tools --disable-system
>      MAKE_CHECK_ARGS: check-tcg
>  
> +# Run check-tcg against linux-user (with plugins)
> +# we skip sparc64-linux-user until it has been fixed somewhat
> +# we skip cris-linux-user as it doesn't use the common run loop
> +build-user-plugins:
> +  <<: *native_build_job_definition
> +  variables:
> +    IMAGE: debian-all-test-cross
> +    CONFIGURE_ARGS: --disable-tools --disable-system --enable-plugins 
> --enable-debug-tcg --target-list-exclude=sparc64-linux-user,cris-linux-user
> +    MAKE_CHECK_ARGS: build-tcg
> +  artifacts:
> +    expire_in: 2 days
> +    paths:
> +      - build
> +
> +check-user-plugins:
> +  <<: *native_test_job_definition
> +  needs:
> +    - job: build-user-plugins
> +      artifacts: true
> +  variables:
> +    IMAGE: debian-all-test-cross
> +    MAKE_CHECK_ARGS: check-tcg

I think it would be easier to use one job and increase the timeout
there, see:

https://docs.gitlab.com/ee/ci/yaml/#timeout

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]