diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-06-23 11:11:35 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2021-07-19 09:33:39 +0200 |
commit | 8619b5ddb56f562c751bcdac2328abcbff37fdeb (patch) | |
tree | 46732df4e70ad0dfd55445f68aba5dc4c2366b76 /.gitlab-ci.d/crossbuild-template.yml | |
parent | fd79f89c76c8e2f409dd9db5d7a367b1f64b6dc6 (diff) |
ci: build & store windows installer
Build windows installer for qemu in gitlab CI,
store the result as artifact.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210623091137.1156959-2-kraxel@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to '.gitlab-ci.d/crossbuild-template.yml')
-rw-r--r-- | .gitlab-ci.d/crossbuild-template.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.d/crossbuild-template.yml b/.gitlab-ci.d/crossbuild-template.yml index 1be541174c..7d3ad00a1e 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. # |