Skip to contentSkip to conversation

gitlab-ci: msys2 improvements

PATCH In review [email protected] 2 participants 4 messages Jun 20, 2023 – Jun 22, 2023

lore
Share & tools
lore
#0 lore raw

v2 cover gitlab-ci: msys2 improvements

From: Marc-André Lureau <[email protected]>

Hi,

Submitting again this small series from last year.

Marc-André Lureau (2):
gitlab-ci: grab msys2 meson-logs as artifacts
gitlab-ci: add msys2 meson test to junit report

 .gitlab-ci.d/windows.yml | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
Signature · 1 line
2.40.1
#1 lore raw

PATCH v2 1/2 gitlab-ci: grab msys2 meson-logs as artifacts

From: Marc-André Lureau <[email protected]>

Rename build directory to "build", like most other CI builds.

---
 .gitlab-ci.d/windows.yml | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
.gitlab-ci.d/windows.yml +9 -4
index 472bacd2e2..d45794463a 100644
@@ -11,6 +11,11 @@
   needs: []
   stage: build
   timeout: 80m
+  artifacts:
+    name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
+    expire_in: 7 days
+    paths:
+      - build/meson-logs/testlog.txt
   before_script:
   - If ( !(Test-Path -Path msys64\var\cache ) ) {
       mkdir msys64\var\cache
@@ -65,8 +70,8 @@ msys2-64bit:
   - $env:CHERE_INVOKING = 'yes'  # Preserve the current working directory
   - $env:MSYSTEM = 'MINGW64'     # Start a 64-bit MinGW environment
   - $env:MSYS = 'winsymlinks:native' # Enable native Windows symlink
-  - mkdir output
-  - cd output
+  - mkdir build
+  - cd build
   # Note: do not remove "--without-default-devices"!
   # commit 9f8e6cad65a6 ("gitlab-ci: Speed up the msys2-64bit job by using --without-default-devices"
   # changed to compile QEMU with the --without-default-devices switch
@@ -115,8 +120,8 @@ msys2-32bit:
   - $env:CHERE_INVOKING = 'yes'  # Preserve the current working directory
   - $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
                                 --enable-fdt=system'
   - ..\msys64\usr\bin\bash -lc 'make'
Signature · 1 line
2.40.1
#2 lore raw

PATCH v2 2/2 gitlab-ci: add msys2 meson test to junit report

In reply to [email protected]

From: Marc-André Lureau <[email protected]>

---
 .gitlab-ci.d/windows.yml | 2 ++
 1 file changed, 2 insertions(+)
.gitlab-ci.d/windows.yml +2 -0
index d45794463a..f889a468b5 100644
@@ -16,6 +16,8 @@
     expire_in: 7 days
     paths:
       - build/meson-logs/testlog.txt
+    reports:
+      junit: "build/meson-logs/testlog.junit.xml"
   before_script:
   - If ( !(Test-Path -Path msys64\var\cache ) ) {
       mkdir msys64\var\cache
Signature · 1 line
2.40.1
#3 lore raw
In reply to [email protected]
Quoted 4 lines · On 20/06/2023 17.37, [email protected] wrote:

From: Marc-André Lureau <[email protected]>

Hi,

Quoted 8 lines

Submitting again this small series from last year.

Marc-André Lureau (2):
gitlab-ci: grab msys2 meson-logs as artifacts
gitlab-ci: add msys2 meson test to junit report

  .gitlab-ci.d/windows.yml | 15 +++++++++++----
  1 file changed, 11 insertions(+), 4 deletions(-)

Thanks, queued the patches for my next pull request.

Thomas