Re: [libvirt PATCH v2 06/35] ci: build.sh: Add a wrapper function over the 'build' job

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

 



On Mon, Sep 11, 2023 at 03:43:07PM +0200, Erik Skultety wrote:
> This helper is a shell function transcript of its original GitLab CI
> counterpart.
> 
> Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx>
> Erik Skultety <eskultet@xxxxxxxxxx>:
> ---
>  ci/build.sh | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/ci/build.sh b/ci/build.sh
> index 477ccbc7d1..f908bbc5d4 100644
> --- a/ci/build.sh
> +++ b/ci/build.sh
> @@ -37,3 +37,8 @@ run_meson_setup() {
>      run_cmd meson setup build --error -Dsystem=true $MESON_OPTS $MESON_ARGS || \
>      (cat "${GIT_ROOT}/build/meson-logs/meson-log.txt" && exit 1)
>  }
> +
> +run_build() {
> +    test -d $GIT_ROOT/build/build.ninja || run_meson_setup

test -f  

> +    run_cmd meson compile -C build $BUILD_ARGS
> +}

With that test change

Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




[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