[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 13/24] cirrus.yml: Improve the windows_msys2_task
From: |
Alex Bennée |
Subject: |
[PATCH v3 13/24] cirrus.yml: Improve the windows_msys2_task |
Date: |
Tue, 28 Feb 2023 19:06:42 +0000 |
From: Thomas Huth <thuth@redhat.com>
There's no need to run a full-blown bash just to create a directory.
And we can skip the "cd build" each time by doing it once at the
beginning.
Additionally, let's exclude some targets (that we already compile-test
with MinGW in the gitlab jobs) from the build, since the build time of
this task is very long already (between 80 and 90 minutes).
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230208103046.618154-1-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230221094558.2864616-15-alex.bennee@linaro.org>
---
.cirrus.yml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/.cirrus.yml b/.cirrus.yml
index 4895987da4..5fb00da73d 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -100,9 +100,11 @@ windows_msys2_task:
tar xf C:\tools\archive\msys64.tar
Write-Output "Extract msys2 time taken:
$((Get-Date).Subtract($start_time))"
script:
- - C:\tools\msys64\usr\bin\bash.exe -lc "mkdir build"
- - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && ../configure
--python=python3"
- - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make -j8"
+ - mkdir build
+ - cd build
+ - C:\tools\msys64\usr\bin\bash.exe -lc "../configure --python=python3
+
--target-list-exclude=i386-softmmu,ppc64-softmmu,aarch64-softmmu,mips64-softmmu,mipsel-softmmu,sh4-softmmu"
+ - C:\tools\msys64\usr\bin\bash.exe -lc "make -j8"
- exit $LastExitCode
test_script:
- C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make V=1 check"
--
2.39.2
- [PATCH v3 02/24] tests: add socat dependency for tests, (continued)
- [PATCH v3 02/24] tests: add socat dependency for tests, Alex Bennée, 2023/02/28
- [PATCH v3 07/24] tests: don't run benchmarks for the tsan build, Alex Bennée, 2023/02/28
- [PATCH v3 06/24] gitlab: extend custom runners with base_job_template, Alex Bennée, 2023/02/28
- [PATCH v3 14/24] tests/dockerfiles: unify debian-toolchain references, Alex Bennée, 2023/02/28
- [PATCH v3 16/24] tests: Ensure TAP version is printed before other messages, Alex Bennée, 2023/02/28
- [PATCH v3 15/24] gitlab: Use plain docker in container-template.yml, Alex Bennée, 2023/02/28
- [PATCH v3 09/24] tests: skip the nios2 replay_kernel test, Alex Bennée, 2023/02/28
- [PATCH v3 12/24] tests: ensure we export job results for some cross builds, Alex Bennée, 2023/02/28
- [PATCH v3 11/24] tests/docker: Use binaries for debian-tricore-cross, Alex Bennée, 2023/02/28
- [PATCH v3 19/24] tests/docker: add USER stanzas to non-lci images, Alex Bennée, 2023/02/28
- [PATCH v3 13/24] cirrus.yml: Improve the windows_msys2_task,
Alex Bennée <=
- [PATCH v3 21/24] tests/docker: use direct RUNC call to run test jobs, Alex Bennée, 2023/02/28
- [PATCH v3 20/24] tests/docker: use direct RUNC call to build containers, Alex Bennée, 2023/02/28
- [PATCH v3 24/24] tests/avocado: disable BootLinuxPPC64 test in CI, Alex Bennée, 2023/02/28
- [PATCH v3 23/24] tests/docker: add zstdtools to the images (!AWAITING UPSTREAM), Alex Bennée, 2023/02/28
- [PATCH v3 18/24] tests/lcitool: append user setting stanza to dockerfiles, Alex Bennée, 2023/02/28
- [PATCH v3 17/24] configure: expose the direct container command, Alex Bennée, 2023/02/28
- [PATCH v3 22/24] gitlab: move the majority of artefact handling to a template, Alex Bennée, 2023/02/28