@@ -29,8 +29,7 @@ functional-system-alpine:
2929 artifacts : true
3030 variables :
3131 IMAGE : alpine
32- MAKE_CHECK_ARGS : check-avocado check-functional
33- AVOCADO_TAGS : arch:avr arch:loongarch64 arch:mips64 arch:mipsel
32+ MAKE_CHECK_ARGS : check-functional
3433
3534build-system-ubuntu :
3635 extends :
@@ -42,7 +41,7 @@ build-system-ubuntu:
4241 IMAGE : ubuntu2204
4342 CONFIGURE_ARGS : --enable-docs --enable-rust
4443 TARGETS : alpha-softmmu microblazeel-softmmu mips64el-softmmu
45- MAKE_CHECK_ARGS : check-build
44+ MAKE_CHECK_ARGS : check-build check-doc
4645
4746check-system-ubuntu :
4847 extends : .native_test_job_template
@@ -60,8 +59,7 @@ functional-system-ubuntu:
6059 artifacts : true
6160 variables :
6261 IMAGE : ubuntu2204
63- MAKE_CHECK_ARGS : check-avocado check-functional
64- AVOCADO_TAGS : arch:alpha arch:microblazeel arch:mips64el
62+ MAKE_CHECK_ARGS : check-functional
6563
6664build-system-debian :
6765 extends :
@@ -92,8 +90,7 @@ functional-system-debian:
9290 artifacts : true
9391 variables :
9492 IMAGE : debian
95- MAKE_CHECK_ARGS : check-avocado check-functional
96- AVOCADO_TAGS : arch:arm arch:i386 arch:riscv64 arch:sh4 arch:sparc arch:xtensa
93+ MAKE_CHECK_ARGS : check-functional
9794
9895crash-test-debian :
9996 extends : .native_test_job_template
@@ -118,7 +115,7 @@ build-system-fedora:
118115 CONFIGURE_ARGS : --disable-gcrypt --enable-nettle --enable-docs --enable-crypto-afalg --enable-rust
119116 TARGETS : microblaze-softmmu mips-softmmu
120117 xtensa-softmmu m68k-softmmu riscv32-softmmu ppc-softmmu sparc64-softmmu
121- MAKE_CHECK_ARGS : check-build
118+ MAKE_CHECK_ARGS : check-build check-doc
122119
123120build-system-fedora-rust-nightly :
124121 extends :
@@ -130,12 +127,7 @@ build-system-fedora-rust-nightly:
130127 IMAGE : fedora-rust-nightly
131128 CONFIGURE_ARGS : --disable-docs --enable-rust --enable-strict-rust-lints
132129 TARGETS : aarch64-softmmu
133- MAKE_CHECK_ARGS : check-build
134- after_script :
135- - source scripts/ci/gitlab-ci-section
136- - section_start test "Running Rust doctests"
137- - cd build
138- - pyvenv/bin/meson devenv -w ../rust ${CARGO-cargo} test --doc -p qemu_api
130+ MAKE_CHECK_ARGS : check-build check-doc
139131
140132 allow_failure : true
141133
@@ -155,9 +147,7 @@ functional-system-fedora:
155147 artifacts : true
156148 variables :
157149 IMAGE : fedora
158- MAKE_CHECK_ARGS : check-avocado check-functional
159- AVOCADO_TAGS : arch:microblaze arch:mips arch:xtensa arch:m68k
160- arch:riscv32 arch:ppc arch:sparc64
150+ MAKE_CHECK_ARGS : check-functional
161151
162152crash-test-fedora :
163153 extends : .native_test_job_template
@@ -193,12 +183,11 @@ build-previous-qemu:
193183 when : on_success
194184 expire_in : 2 days
195185 paths :
196- - build-previous
197- exclude :
198- - build-previous/**/*.p
199- - build-previous/**/*.a.p
200- - build-previous/**/*.c.o
201- - build-previous/**/*.c.o.d
186+ - build-previous/qemu-bundle
187+ - build-previous/qemu-system-aarch64
188+ - build-previous/qemu-system-x86_64
189+ - build-previous/tests/qtest/migration-test
190+ - build-previous/scripts
202191 needs :
203192 job : amd64-opensuse-leap-container
204193 variables :
@@ -208,6 +197,11 @@ build-previous-qemu:
208197 GIT_FETCH_EXTRA_FLAGS : --prune --quiet
209198 before_script :
210199 - source scripts/ci/gitlab-ci-section
200+ # Skip if this series contains the release bump commit. During the
201+ # release process there might be a window of commits when the
202+ # version tag is not yet present in the remote and git fetch would
203+ # fail.
204+ - if grep -q "\.0$" VERSION; then exit 0; fi
211205 - export QEMU_PREV_VERSION="$(sed 's/\([0-9.]*\)\.[0-9]*/v\1.0/' VERSION)"
212206 - git remote add upstream https://gitlab.com/qemu-project/qemu
213207 - git fetch upstream refs/tags/$QEMU_PREV_VERSION:refs/tags/$QEMU_PREV_VERSION
@@ -228,18 +222,13 @@ build-previous-qemu:
228222 IMAGE : opensuse-leap
229223 MAKE_CHECK_ARGS : check-build
230224 script :
225+ # Skip for round release numbers, this job is only relevant for
226+ # testing a development tree.
227+ - if grep -q "\.0$" VERSION; then exit 0; fi
231228 # Use the migration-tests from the older QEMU tree. This avoids
232229 # testing an old QEMU against new features/tests that it is not
233230 # compatible with.
234231 - cd build-previous
235- # Don't allow python-based tests to run. The
236- # vmstate-checker-script test has a race that causes it to fail
237- # sometimes. It cannot be fixed it because this job runs the test
238- # from the old QEMU version. The test will be removed on master,
239- # but this job will only see the change in the next release.
240- #
241- # TODO: remove this line after 9.2 release
242- - unset PYTHON
243232 # old to new
244233 - QTEST_QEMU_BINARY_SRC=./qemu-system-${TARGET}
245234 QTEST_QEMU_BINARY=../build/qemu-system-${TARGET} ./tests/qtest/migration-test
@@ -278,9 +267,7 @@ functional-system-centos:
278267 artifacts : true
279268 variables :
280269 IMAGE : centos9
281- MAKE_CHECK_ARGS : check-avocado check-functional
282- AVOCADO_TAGS : arch:ppc64 arch:or1k arch:s390x arch:x86_64 arch:rx
283- arch:sh4
270+ MAKE_CHECK_ARGS : check-functional
284271
285272build-system-opensuse :
286273 extends :
@@ -309,8 +296,7 @@ functional-system-opensuse:
309296 artifacts : true
310297 variables :
311298 IMAGE : opensuse-leap
312- MAKE_CHECK_ARGS : check-avocado check-functional
313- AVOCADO_TAGS : arch:s390x arch:x86_64 arch:aarch64
299+ MAKE_CHECK_ARGS : check-functional
314300
315301#
316302# Flaky tests. We don't run these by default and they are allow fail
@@ -338,10 +324,9 @@ functional-system-flaky:
338324 allow_failure : true
339325 variables :
340326 IMAGE : debian
341- MAKE_CHECK_ARGS : check-avocado check- functional
327+ MAKE_CHECK_ARGS : check-functional
342328 QEMU_JOB_OPTIONAL : 1
343329 QEMU_TEST_FLAKY_TESTS : 1
344- AVOCADO_TAGS : flaky
345330
346331# This jobs explicitly disable TCG (--disable-tcg), KVM is detected by
347332# the configure script. The container doesn't contain Xen headers so
@@ -482,8 +467,8 @@ clang-user:
482467# Since slirp callbacks are used in QEMU Timers, we cannot use libslirp with
483468# CFI builds, and thus have to disable it here.
484469#
485- # Split in three sets of build/check/avocado to limit the execution time of each
486- # job
470+ # Split in three sets of build/check/functional to limit the execution time
471+ # of each job
487472build-cfi-aarch64 :
488473 extends :
489474 - .native_build_job_template
@@ -520,7 +505,7 @@ functional-cfi-aarch64:
520505 artifacts : true
521506 variables :
522507 IMAGE : fedora
523- MAKE_CHECK_ARGS : check-avocado check- functional
508+ MAKE_CHECK_ARGS : check-functional
524509
525510build-cfi-ppc64-s390x :
526511 extends :
@@ -558,7 +543,7 @@ functional-cfi-ppc64-s390x:
558543 artifacts : true
559544 variables :
560545 IMAGE : fedora
561- MAKE_CHECK_ARGS : check-avocado check- functional
546+ MAKE_CHECK_ARGS : check-functional
562547
563548build-cfi-x86_64 :
564549 extends :
@@ -592,7 +577,7 @@ functional-cfi-x86_64:
592577 artifacts : true
593578 variables :
594579 IMAGE : fedora
595- MAKE_CHECK_ARGS : check-avocado check- functional
580+ MAKE_CHECK_ARGS : check-functional
596581
597582tsan-build :
598583 extends : .native_build_job_template
@@ -801,3 +786,12 @@ coverity:
801786 when : never
802787 # Always manual on forks even if $QEMU_CI == "2"
803788 - when : manual
789+
790+ build-wasm :
791+ extends : .wasm_build_job_template
792+ timeout : 2h
793+ needs :
794+ job : wasm-emsdk-cross-container
795+ variables :
796+ IMAGE : emsdk-wasm32-cross
797+ CONFIGURE_ARGS : --static --disable-tools --enable-debug --enable-tcg-interpreter
0 commit comments