Re: [PATCH libvirt-dbus v3 2/3] gitlab: introduce CI jobs testing git master & distro libvirt

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

 



On Thu, 2020-06-25 at 17:14 +0100, Daniel P. Berrangé wrote:
> +.git_native_build_job_template: &git_native_build_job_definition
> +  image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
> +  stage: builds
> +  cache:
> +    paths:
> +      - ccache/
> +    key: "$CI_JOB_NAME"
> +  before_script:
> +    - *script_variables
> +  script:
[...]
> +    - meson build --prefix="$VROOT"
> +    - $NINJA -C build
> +    - if test "$TESTS" != "skip";
> +      then
> +        $NINJA -C build test;
> +        $NINJA -C build install;
> +        $NINJA -C build dist;

We can still run 'ninja install' even when we're told to skip tests,
as the two are not related.

> +.dist_native_build_job_template: &dist_native_build_job_definition
> +  image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
> +  stage: builds
> +  cache:
> +    paths:
> +      - ccache/
> +    key: "$CI_JOB_NAME"
> +  before_script:
> +    - *script_variables
> +  script:
> +    - meson build --prefix="$VROOT"
> +    - $NINJA -C build
> +    - if test "$TESTS" != "skip";
> +      then
> +        $NINJA -C build test;
> +        $NINJA -C build install;
> +        $NINJA -C build dist;

Same here.

With that changed,

  Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx>

-- 
Andrea Bolognani / Red Hat / Virtualization




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux