From: Stefan Weil via <qemu-devel@nongnu.org>
To: Bin Meng <bmeng.cn@gmail.com>, qemu-devel@nongnu.org
Cc: "Bin Meng" <bin.meng@windriver.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Beraldo Leal" <bleal@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Thomas Huth" <thuth@redhat.com>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>
Subject: Re: [PATCH 7/7] .gitlab-ci.d/windows.yml: Test 'make installer' in the CI
Date: Sat, 29 Oct 2022 18:39:29 +0200 [thread overview]
Message-ID: <ae19df77-a7b2-5ad6-710b-bc3c2d226978@weilnetz.de> (raw)
In-Reply-To: <20220908132817.1831008-8-bmeng.cn@gmail.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 4117 bytes --]
Am 08.09.22 um 15:28 schrieb Bin Meng:
> From: Bin Meng <bin.meng@windriver.com>
>
> Now that we have supported packaging DLLs automatically, let's add
> the 'make installer' in the CI and publish the generated installer
> file as an artifact.
>
> Increase the job timeout to 90 minutes to accommodate to it.
>
> Signed-off-by: Bin Meng <bin.meng@windriver.com>
> ---
>
> .gitlab-ci.d/windows.yml | 27 +++++++++++++++++++--------
> 1 file changed, 19 insertions(+), 8 deletions(-)
>
> diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml
> index fffb202658..3a94d40e73 100644
> --- a/.gitlab-ci.d/windows.yml
> +++ b/.gitlab-ci.d/windows.yml
> @@ -10,7 +10,7 @@
> - ${CI_PROJECT_DIR}/msys64/var/cache
> needs: []
> stage: build
> - timeout: 70m
> + timeout: 90m
> before_script:
> - If ( !(Test-Path -Path msys64\var\cache ) ) {
> mkdir msys64\var\cache
> @@ -28,6 +28,11 @@
> - .\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu' # Core update
> - .\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu' # Normal update
> - taskkill /F /FI "MODULES eq msys-2.0.dll"
> + artifacts:
> + name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
> + expire_in: 7 days
> + paths:
> + - build/qemu-setup*.exe
>
> msys2-64bit:
> extends: .shared_msys2_builder
> @@ -51,6 +56,7 @@ msys2-64bit:
> mingw-w64-x86_64-lzo2
> mingw-w64-x86_64-nettle
> mingw-w64-x86_64-ninja
> + mingw-w64-x86_64-nsis
> mingw-w64-x86_64-pixman
> mingw-w64-x86_64-pkgconf
> mingw-w64-x86_64-python
> @@ -60,12 +66,15 @@ msys2-64bit:
> mingw-w64-x86_64-usbredir
> mingw-w64-x86_64-zstd "
> - $env:CHERE_INVOKING = 'yes' # Preserve the current working directory
> - - $env:MSYSTEM = 'MINGW64' # Start a 64 bit Mingw environment
> + - $env:MSYSTEM = 'MINGW64' # Start a 64-bit MinGW environment
I use Mingw-w64, not MinGW. :-)
https://www.mingw-w64.org/ uses inconsistent case, mostly Mingw-w64, but
also MinGW-w64. The same confusion exists in the description of the
Debian packages, but there MinGW-w64 is more common.
So there seems to be no right or wrong.
> - $env:MSYS = 'winsymlinks:native' # Enable native Windows symlink
> - - .\msys64\usr\bin\bash -lc './configure --target-list=x86_64-softmmu
> + - mkdir build
> + - cd build
> + - ..\msys64\usr\bin\bash -lc '../configure --target-list=x86_64-softmmu
> --enable-capstone --without-default-devices'
> - - .\msys64\usr\bin\bash -lc 'make'
> - - .\msys64\usr\bin\bash -lc 'make check'
> + - ..\msys64\usr\bin\bash -lc 'make'
> + - ..\msys64\usr\bin\bash -lc 'make check'
> + - ..\msys64\usr\bin\bash -lc 'make installer'
>
> msys2-32bit:
> extends: .shared_msys2_builder
> @@ -89,6 +98,7 @@ msys2-32bit:
> mingw-w64-i686-lzo2
> mingw-w64-i686-nettle
> mingw-w64-i686-ninja
> + mingw-w64-i686-nsis
> mingw-w64-i686-pixman
> mingw-w64-i686-pkgconf
> mingw-w64-i686-python
> @@ -98,10 +108,11 @@ msys2-32bit:
> mingw-w64-i686-usbredir
> mingw-w64-i686-zstd "
> - $env:CHERE_INVOKING = 'yes' # Preserve the current working directory
> - - $env:MSYSTEM = 'MINGW32' # Start a 32-bit MinG environment
> + - $env:MSYSTEM = 'MINGW32' # Start a 32-bit MinGW environment
> - $env:MSYS = 'winsymlinks:native' # Enable native Windows symlink
> - - mkdir output
> - - cd output
> + - mkdir build
> + - cd build
> - ..\msys64\usr\bin\bash -lc "../configure --target-list=ppc64-softmmu"
> - ..\msys64\usr\bin\bash -lc 'make'
> - ..\msys64\usr\bin\bash -lc 'make check'
> + - ..\msys64\usr\bin\bash -lc 'make installer'
Maybe it is sufficient to build only a 64 bit installer. Is there still
need for QEMU on 32 bit Windows? For CI, most parts of the NSIS process
(which requires a lot of resources) are covered by either 32 or 64 bit
builds, so running both might be unnecessary.
Regards
Stefan
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 6511 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next prev parent reply other threads:[~2022-10-29 16:40 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-08 13:28 [PATCH 0/7] nsis: gitlab-ci: Improve QEMU Windows installer packaging Bin Meng
2022-09-08 13:28 ` [PATCH 1/7] scripts/nsis.py: Drop the unnecessary path separator Bin Meng
2022-09-17 21:18 ` Philippe Mathieu-Daudé via
2022-10-29 7:44 ` Stefan Weil via
2022-09-08 13:28 ` [PATCH 2/7] scripts/nsis.py: Fix destination directory name when invoked on Windows Bin Meng
2022-09-08 13:46 ` Marc-André Lureau
2022-09-17 21:20 ` Philippe Mathieu-Daudé via
2022-10-29 7:58 ` Stefan Weil via
2022-09-08 13:28 ` [PATCH 3/7] scripts/nsis.py: Automatically package required DLLs of QEMU executables Bin Meng
2022-09-08 13:56 ` Marc-André Lureau
2022-09-09 16:49 ` Mark Cave-Ayland
2022-09-10 0:37 ` Bin Meng
2024-02-25 17:37 ` Stefan Weil via
2024-02-26 4:35 ` Bin Meng
2024-02-26 6:30 ` Stefan Weil via
2024-03-10 8:02 ` Mark Cave-Ayland
2022-10-29 9:04 ` Stefan Weil via
2022-09-08 13:28 ` [PATCH 4/7] .gitlab-ci.d/windows.yml: Drop the sed processing in the 64-bit build Bin Meng
2022-09-08 14:04 ` Marc-André Lureau
2022-09-09 16:30 ` Thomas Huth
2022-09-17 21:22 ` Philippe Mathieu-Daudé via
2022-09-08 13:28 ` [PATCH 5/7] block/nfs: Fix 32-bit Windows build Bin Meng
2022-09-17 21:32 ` Philippe Mathieu-Daudé via
2022-09-21 12:10 ` Meng, Bin
2022-09-24 1:19 ` Bin Meng
2022-10-27 2:45 ` Bin Meng
2022-10-27 7:54 ` Kevin Wolf
2022-10-27 8:16 ` Bin Meng
2022-10-29 15:57 ` Stefan Weil via
2022-09-08 13:28 ` [PATCH 6/7] .gitlab-ci.d/windows.yml: Unify the prerequisite packages Bin Meng
2022-09-09 16:32 ` Thomas Huth
2022-09-10 0:32 ` Bin Meng
2022-09-10 5:09 ` 罗勇刚(Yonggang Luo)
2022-09-24 9:20 ` Bin Meng
2022-10-29 13:06 ` Bin Meng
2022-10-29 16:19 ` Stefan Weil via
2022-10-31 6:43 ` Thomas Huth
2022-09-08 13:28 ` [PATCH 7/7] .gitlab-ci.d/windows.yml: Test 'make installer' in the CI Bin Meng
2022-09-17 21:31 ` Philippe Mathieu-Daudé via
2022-10-29 16:39 ` Stefan Weil via [this message]
2022-10-30 3:21 ` Bin Meng
2022-10-31 7:01 ` Thomas Huth
2022-09-16 0:35 ` [PATCH 0/7] nsis: gitlab-ci: Improve QEMU Windows installer packaging Bin Meng
2022-09-21 12:18 ` Bin Meng
2022-09-21 12:24 ` Thomas Huth
2022-09-23 2:28 ` Bin Meng
2022-10-29 13:45 ` Bin Meng
2022-10-31 6:52 ` Thomas Huth
2022-10-31 9:26 ` Stefan Weil via
2022-10-31 9:29 ` Marc-André Lureau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ae19df77-a7b2-5ad6-710b-bc3c2d226978@weilnetz.de \
--to=qemu-devel@nongnu.org \
--cc=alex.bennee@linaro.org \
--cc=bin.meng@windriver.com \
--cc=bleal@redhat.com \
--cc=bmeng.cn@gmail.com \
--cc=f4bug@amsat.org \
--cc=sw@weilnetz.de \
--cc=thuth@redhat.com \
--cc=wainersm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).