Skip to content

Commit a1f0f36

Browse files
berrangehuth
authored andcommitted
gitlab: skip many more targets in windows cross builds
The windows cross builds still take way too long in gitlab CI, so need more targets to be skipped. We don't want to hurt coverage of other cross builds more though, so we let jobs fine tune with a new env variale $CROSS_SKIP_TARGETS. We take the set of targets that are considered relatively niche or very old architectures, and skip approx half of them in win32 builds and the other half of them in win64. Signed-off-by: Daniel P. Berrangé <[email protected]> Reviewed-by: Willian Rampazzo <[email protected]> Message-Id: <[email protected]> [thuth: Swapped the "CROSS_SKIP_TARGETS:" lines as suggested by philmd] Signed-off-by: Thomas Huth <[email protected]>
1 parent a623549 commit a1f0f36

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitlab-ci.d/crossbuild-template.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
--disable-user --target-list-exclude="arm-softmmu cris-softmmu
1111
i386-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu
1212
mips64-softmmu ppc-softmmu riscv32-softmmu sh4-softmmu
13-
sparc-softmmu xtensa-softmmu"
13+
sparc-softmmu xtensa-softmmu $CROSS_SKIP_TARGETS"
1414
- make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS
1515
- if grep -q "EXESUF=.exe" config-host.mak;
1616
then make installer;

.gitlab-ci.d/crossbuilds.yml

+4
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ cross-win32-system:
160160
job: win32-fedora-cross-container
161161
variables:
162162
IMAGE: fedora-win32-cross
163+
CROSS_SKIP_TARGETS: alpha-softmmu avr-softmmu hppa-softmmu m68k-softmmu
164+
microblazeel-softmmu mips64el-softmmu nios2-softmmu
163165
artifacts:
164166
paths:
165167
- build/qemu-setup*.exe
@@ -170,6 +172,8 @@ cross-win64-system:
170172
job: win64-fedora-cross-container
171173
variables:
172174
IMAGE: fedora-win64-cross
175+
CROSS_SKIP_TARGETS: or1k-softmmu rx-softmmu sh4eb-softmmu sparc64-softmmu
176+
tricore-softmmu xtensaeb-softmmu
173177
artifacts:
174178
paths:
175179
- build/qemu-setup*.exe

0 commit comments

Comments
 (0)