qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 7/7] .gitlab-ci.d/windows.yml: Test 'make installer' in the C


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 7/7] .gitlab-ci.d/windows.yml: Test 'make installer' in the CI
Date: Sat, 17 Sep 2022 23:31:11 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.0

On 8/9/22 15:28, Bin Meng wrote:
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

Do you really want to test this binary? I think the CI is only to test
the installer. This is a stripped down version anyway (./configure
options). If someone want to package/test, this should not be done here
but locally.

However I agree testing the installer doesn't bitrot is helpful, so
*without* the "artifacts" section:

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]