[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] ci: build & store windows installer
From: |
Willian Rampazzo |
Subject: |
Re: [PATCH 1/3] ci: build & store windows installer |
Date: |
Mon, 5 Jul 2021 11:44:19 -0300 |
On Wed, Jun 23, 2021 at 6:11 AM Gerd Hoffmann <kraxel@redhat.com> wrote:
>
> Build windows installer for qemu in gitlab CI,
> store the result as artifact.
>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> .gitlab-ci.d/crossbuild-template.yml | 5 +++++
> .gitlab-ci.d/crossbuilds.yml | 6 ++++++
> tests/docker/dockerfiles/fedora-win64-cross.docker | 1 +
> 3 files changed, 12 insertions(+)
>
> diff --git a/.gitlab-ci.d/crossbuild-template.yml
> b/.gitlab-ci.d/crossbuild-template.yml
> index 1be541174c91..7d3ad00a1eb9 100644
> --- a/.gitlab-ci.d/crossbuild-template.yml
> +++ b/.gitlab-ci.d/crossbuild-template.yml
> @@ -11,6 +11,11 @@
> i386-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu
> mips64-softmmu ppc-softmmu sh4-softmmu xtensa-softmmu"
> - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS
> + - if grep -q "EXESUF=.exe" config-host.mak;
> + then make installer;
> + version="$(git describe --match v[0-9]*)";
> + mv -v qemu-setup*.exe qemu-setup-${version}.exe;
> + fi
>
> # Job to cross-build specific accelerators.
> #
Reviewed-by: Willian Rampazzo <willianr@redhat.com>