Lines Matching +full:amd64 +full:- +full:debian +full:- +full:user +full:- +full:cross +full:- +full:container

2   - local: '/.gitlab-ci.d/buildtest-template.yml'
4 build-system-alpine:
6 - .native_build_job_template
7 - .native_build_artifact_template
9 - job: amd64-alpine-container
12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu
13 MAKE_CHECK_ARGS: check-build
14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog
16 check-system-alpine:
19 - job: build-system-alpine
23 MAKE_CHECK_ARGS: check-unit check-qtest
25 functional-system-alpine:
28 - job: build-system-alpine
32 MAKE_CHECK_ARGS: check-avocado check-functional
35 build-system-ubuntu:
37 - .native_build_job_template
38 - .native_build_artifact_template
40 job: amd64-ubuntu2204-container
43 CONFIGURE_ARGS: --enable-docs --enable-rust
44 TARGETS: alpha-softmmu microblazeel-softmmu mips64el-softmmu
45 MAKE_CHECK_ARGS: check-build
47 check-system-ubuntu:
50 - job: build-system-ubuntu
56 functional-system-ubuntu:
59 - job: build-system-ubuntu
63 MAKE_CHECK_ARGS: check-avocado check-functional
66 build-system-debian:
68 - .native_build_job_template
69 - .native_build_artifact_template
71 job: amd64-debian-container
73 IMAGE: debian
74 CONFIGURE_ARGS: --with-coroutine=sigaltstack --enable-rust
75 TARGETS: arm-softmmu i386-softmmu riscv64-softmmu sh4eb-softmmu
76 sparc-softmmu xtensa-softmmu
77 MAKE_CHECK_ARGS: check-build
79 check-system-debian:
82 - job: build-system-debian
85 IMAGE: debian
88 functional-system-debian:
91 - job: build-system-debian
94 IMAGE: debian
95 MAKE_CHECK_ARGS: check-avocado check-functional
98 crash-test-debian:
101 - job: build-system-debian
104 IMAGE: debian
106 - cd build
107 - make NINJA=":" check-venv
108 - pyvenv/bin/python3 scripts/device-crash-test -q --tcg-only ./qemu-system-i386
110 build-system-fedora:
112 - .native_build_job_template
113 - .native_build_artifact_template
115 job: amd64-fedora-container
118 … CONFIGURE_ARGS: --disable-gcrypt --enable-nettle --enable-docs --enable-crypto-afalg --enable-rust
119 TARGETS: microblaze-softmmu mips-softmmu
120 xtensa-softmmu m68k-softmmu riscv32-softmmu ppc-softmmu sparc64-softmmu
121 MAKE_CHECK_ARGS: check-build
123 build-system-fedora-rust-nightly:
125 - .native_build_job_template
126 - .native_build_artifact_template
128 job: amd64-fedora-rust-nightly-container
130 IMAGE: fedora-rust-nightly
131 CONFIGURE_ARGS: --disable-docs --enable-rust --enable-strict-rust-lints
132 TARGETS: aarch64-softmmu
133 MAKE_CHECK_ARGS: check-build
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
142 check-system-fedora:
145 - job: build-system-fedora
151 functional-system-fedora:
154 - job: build-system-fedora
158 MAKE_CHECK_ARGS: check-avocado check-functional
162 crash-test-fedora:
165 - job: build-system-fedora
170 - cd build
171 - make NINJA=":" check-venv
172 - pyvenv/bin/python3 scripts/device-crash-test -q ./qemu-system-ppc
173 - pyvenv/bin/python3 scripts/device-crash-test -q ./qemu-system-riscv32
175 build-system-centos:
177 - .native_build_job_template
178 - .native_build_artifact_template
180 job: amd64-centos9-container
183 CONFIGURE_ARGS: --disable-nettle --enable-gcrypt --enable-vfio-user-server
184 --enable-modules --enable-trace-backends=dtrace --enable-docs
185 TARGETS: ppc64-softmmu or1k-softmmu s390x-softmmu
186 x86_64-softmmu rx-softmmu sh4-softmmu
187 MAKE_CHECK_ARGS: check-build
189 # Previous QEMU release. Used for cross-version migration tests.
190 build-previous-qemu:
196 - build-previous
198 - build-previous/**/*.p
199 - build-previous/**/*.a.p
200 - build-previous/**/*.c.o
201 - build-previous/**/*.c.o.d
203 job: amd64-opensuse-leap-container
205 IMAGE: opensuse-leap
206 TARGETS: x86_64-softmmu aarch64-softmmu
208 GIT_FETCH_EXTRA_FLAGS: --prune --quiet
210 - source scripts/ci/gitlab-ci-section
211 - export QEMU_PREV_VERSION="$(sed 's/\([0-9.]*\)\.[0-9]*/v\1.0/' VERSION)"
212 - git remote add upstream https://gitlab.com/qemu-project/qemu
213 - git fetch upstream refs/tags/$QEMU_PREV_VERSION:refs/tags/$QEMU_PREV_VERSION
214 - git checkout $QEMU_PREV_VERSION
216 - mv build build-previous
218 .migration-compat-common:
221 - job: build-previous-qemu
222 - job: build-system-opensuse
228 IMAGE: opensuse-leap
229 MAKE_CHECK_ARGS: check-build
231 # Use the migration-tests from the older QEMU tree. This avoids
234 - 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
242 - unset PYTHON
244 - QTEST_QEMU_BINARY_SRC=./qemu-system-${TARGET}
245 QTEST_QEMU_BINARY=../build/qemu-system-${TARGET} ./tests/qtest/migration-test
247 - QTEST_QEMU_BINARY_DST=./qemu-system-${TARGET}
248 QTEST_QEMU_BINARY=../build/qemu-system-${TARGET} ./tests/qtest/migration-test
252 # Currently only "-cpu max" can provide (1), however it doesn't guarantee
254 migration-compat-aarch64:
255 extends: .migration-compat-common
260 migration-compat-x86_64:
261 extends: .migration-compat-common
265 check-system-centos:
268 - job: build-system-centos
274 functional-system-centos:
277 - job: build-system-centos
281 MAKE_CHECK_ARGS: check-avocado check-functional
285 build-system-opensuse:
287 - .native_build_job_template
288 - .native_build_artifact_template
290 job: amd64-opensuse-leap-container
292 IMAGE: opensuse-leap
293 TARGETS: s390x-softmmu x86_64-softmmu aarch64-softmmu
294 MAKE_CHECK_ARGS: check-build
296 check-system-opensuse:
299 - job: build-system-opensuse
302 IMAGE: opensuse-leap
305 functional-system-opensuse:
308 - job: build-system-opensuse
311 IMAGE: opensuse-leap
312 MAKE_CHECK_ARGS: check-avocado check-functional
320 build-system-flaky:
322 - .native_build_job_template
323 - .native_build_artifact_template
325 job: amd64-debian-container
327 IMAGE: debian
329 TARGETS: aarch64-softmmu arm-softmmu mips64el-softmmu
330 ppc64-softmmu rx-softmmu s390x-softmmu sh4-softmmu x86_64-softmmu
331 MAKE_CHECK_ARGS: check-build
333 functional-system-flaky:
336 - job: build-system-flaky
340 IMAGE: debian
341 MAKE_CHECK_ARGS: check-avocado check-functional
346 # This jobs explicitly disable TCG (--disable-tcg), KVM is detected by
347 # the configure script. The container doesn't contain Xen headers so
349 # i386-softmmu and x86_64-softmmu with KVM being the single accelerator
353 build-tcg-disabled:
356 job: amd64-centos9-container
360 - mkdir build
361 - cd build
362 - ../configure --disable-tcg --audio-drv-list="" --with-coroutine=ucontext
363 --disable-docs --disable-sdl --disable-gtk --disable-vnc
364 || { cat config.log meson-logs/meson-log.txt && exit 1; }
365 - make -j"$JOBS"
366 - make check-unit
367 - make check-qapi-schema
368 - cd tests/qemu-iotests/
369 - ./check -raw 001 002 003 004 005 008 009 010 011 012 021 025 032 033 048
371 170 171 184 192 194 208 221 226 227 236 253 277 image-fleecing
372 - ./check -qcow2 028 051 056 057 058 065 068 082 085 091 095 096 102 122
375 260 261 262 263 264 270 272 273 277 279 image-fleecing
376 - cd ../..
377 - make distclean
379 build-user:
382 job: amd64-debian-user-cross-container
384 IMAGE: debian-all-test-cross
385 CONFIGURE_ARGS: --disable-tools --disable-system
386 --target-list-exclude=alpha-linux-user,sh4-linux-user
387 MAKE_CHECK_ARGS: check-tcg
389 build-user-static:
392 job: amd64-debian-user-cross-container
394 IMAGE: debian-all-test-cross
395 CONFIGURE_ARGS: --disable-tools --disable-system --static
396 --target-list-exclude=alpha-linux-user,sh4-linux-user
397 MAKE_CHECK_ARGS: check-tcg
400 build-legacy:
403 job: amd64-debian-legacy-cross-container
405 IMAGE: debian-legacy-test-cross
406 TARGETS: alpha-linux-user alpha-softmmu sh4-linux-user
407 CONFIGURE_ARGS: --disable-tools
408 MAKE_CHECK_ARGS: check-tcg
410 build-user-hexagon:
413 job: hexagon-cross-container
415 IMAGE: debian-hexagon-cross
416 TARGETS: hexagon-linux-user
417 CONFIGURE_ARGS: --disable-tools --disable-docs --enable-debug-tcg
418 MAKE_CHECK_ARGS: check-tcg
420 # Build the softmmu targets we have check-tcg tests and compilers in
421 # our omnibus all-test-cross container. Those targets that haven't got
422 # Debian cross compiler support need to use special containers.
423 build-some-softmmu:
426 job: amd64-debian-user-cross-container
428 IMAGE: debian-all-test-cross
429 CONFIGURE_ARGS: --disable-tools --enable-debug
430 TARGETS: arm-softmmu aarch64-softmmu i386-softmmu riscv64-softmmu
431 s390x-softmmu x86_64-softmmu
432 MAKE_CHECK_ARGS: check-tcg
434 build-loongarch64:
437 job: loongarch-debian-cross-container
439 IMAGE: debian-loongarch-cross
440 CONFIGURE_ARGS: --disable-tools --enable-debug
441 TARGETS: loongarch64-linux-user loongarch64-softmmu
442 MAKE_CHECK_ARGS: check-tcg
444 # We build tricore in a very minimal tricore only container
445 build-tricore-softmmu:
448 job: tricore-debian-cross-container
450 IMAGE: debian-tricore-cross
451 CONFIGURE_ARGS: --disable-tools --disable-fdt --enable-debug
452 TARGETS: tricore-softmmu
453 MAKE_CHECK_ARGS: check-tcg
455 clang-system:
458 job: amd64-fedora-container
461 CONFIGURE_ARGS: --cc=clang --cxx=clang++ --enable-ubsan
462 --extra-cflags=-fno-sanitize-recover=undefined
463 TARGETS: alpha-softmmu arm-softmmu m68k-softmmu mips64-softmmu s390x-softmmu
464 MAKE_CHECK_ARGS: check-qtest check-tcg
466 clang-user:
469 job: amd64-debian-user-cross-container
472 IMAGE: debian-all-test-cross
473 CONFIGURE_ARGS: --cc=clang --cxx=clang++ --disable-system --enable-ubsan
474--target-list-exclude=alpha-linux-user,microblazeel-linux-user,aarch64_be-linux-user,i386-linux-us…
475 --extra-cflags=-fno-sanitize-recover=undefined
476 MAKE_CHECK_ARGS: check-unit check-tcg
480 # triggers an Out-Of-Memory error
487 build-cfi-aarch64:
489 - .native_build_job_template
490 - .native_build_artifact_template
492 - job: amd64-fedora-container
495 AR: llvm-ar
497 CONFIGURE_ARGS: --cc=clang --cxx=clang++ --enable-cfi --enable-cfi-debug
498 --enable-safe-stack --disable-slirp
499 TARGETS: aarch64-softmmu
500 MAKE_CHECK_ARGS: check-build
501 # FIXME: This job is often failing, likely due to out-of-memory problems in
507 check-cfi-aarch64:
510 - job: build-cfi-aarch64
516 functional-cfi-aarch64:
519 - job: build-cfi-aarch64
523 MAKE_CHECK_ARGS: check-avocado check-functional
525 build-cfi-ppc64-s390x:
527 - .native_build_job_template
528 - .native_build_artifact_template
530 - job: amd64-fedora-container
533 AR: llvm-ar
535 CONFIGURE_ARGS: --cc=clang --cxx=clang++ --enable-cfi --enable-cfi-debug
536 --enable-safe-stack --disable-slirp
537 TARGETS: ppc64-softmmu s390x-softmmu
538 MAKE_CHECK_ARGS: check-build
539 # FIXME: This job is often failing, likely due to out-of-memory problems in
545 check-cfi-ppc64-s390x:
548 - job: build-cfi-ppc64-s390x
554 functional-cfi-ppc64-s390x:
557 - job: build-cfi-ppc64-s390x
561 MAKE_CHECK_ARGS: check-avocado check-functional
563 build-cfi-x86_64:
565 - .native_build_job_template
566 - .native_build_artifact_template
568 - job: amd64-fedora-container
571 AR: llvm-ar
573 CONFIGURE_ARGS: --cc=clang --cxx=clang++ --enable-cfi --enable-cfi-debug
574 --enable-safe-stack --disable-slirp
575 TARGETS: x86_64-softmmu
576 MAKE_CHECK_ARGS: check-build
579 check-cfi-x86_64:
582 - job: build-cfi-x86_64
588 functional-cfi-x86_64:
591 - job: build-cfi-x86_64
595 MAKE_CHECK_ARGS: check-avocado check-functional
597 tsan-build:
600 job: amd64-ubuntu2204-container
603 CONFIGURE_ARGS: --enable-tsan --cc=clang --cxx=clang++
604 --enable-trace-backends=ust --disable-slirp
605 TARGETS: x86_64-softmmu ppc64-softmmu riscv64-softmmu x86_64-linux-user
608 MAKE: setarch -R make
614 job: amd64-ubuntu2204-container
618 CONFIGURE_ARGS: --enable-gcov
619 TARGETS: aarch64-softmmu ppc64-softmmu s390x-softmmu x86_64-softmmu
620 MAKE_CHECK_ARGS: check-unit check-softfloat
622 - cd build
623 - gcovr --xml-pretty --exclude-unreachable-branches --print-summary
624 -o coverage.xml --root ${CI_PROJECT_DIR} . *.p
627 name: ${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHA}
631 - build/meson-logs/testlog.txt
633 junit: build/meson-logs/testlog.junit.xml
638 build-oss-fuzz:
641 job: amd64-fedora-container
645 - mkdir build-oss-fuzz
646 - export LSAN_OPTIONS=suppressions=scripts/oss-fuzz/lsan_suppressions.txt
647 - CC="clang" CXX="clang++" CFLAGS="-fsanitize=address"
648 ./scripts/oss-fuzz/build.sh
649 - export ASAN_OPTIONS="fast_unwind_on_malloc=0"
650 - failures=0
651 - for fuzzer in $(find ./build-oss-fuzz/DEST_DIR/ -executable -type f
652 | grep -v slirp); do
655 …"${fuzzer}" -runs=1 -seed=1 || { echo "FAILED:"" ${fuzzer} exit code is $?"; failures=$(($failures…
657 - echo "Number of failures:"" $failures"
658 - test $failures = 0
660 build-tci:
663 job: amd64-debian-user-cross-container
665 IMAGE: debian-all-test-cross
667 - TARGETS="aarch64 arm hppa m68k microblaze ppc64 s390x x86_64"
668 - mkdir build
669 - cd build
670 - ../configure --enable-tcg-interpreter --disable-kvm --disable-docs --disable-gtk --disable-vnc
671 --target-list="$(for tg in $TARGETS; do echo -n ${tg}'-softmmu '; done)"
672 || { cat config.log meson-logs/meson-log.txt && exit 1; }
673 - make -j"$JOBS"
674 - make tests/qtest/boot-serial-test tests/qtest/cdrom-test tests/qtest/pxe-test
675 - for tg in $TARGETS ; do
676 export QTEST_QEMU_BINARY="./qemu-system-${tg}" ;
677 ./tests/qtest/boot-serial-test || exit 1 ;
678 ./tests/qtest/cdrom-test || exit 1 ;
680 - QTEST_QEMU_BINARY="./qemu-system-x86_64" ./tests/qtest/pxe-test
681 - QTEST_QEMU_BINARY="./qemu-system-s390x" ./tests/qtest/pxe-test -m slow
682 - make check-tcg
685 build-without-defaults:
688 job: amd64-centos9-container
692 --without-default-devices
693 --without-default-features
694 --disable-fdt
695 --disable-pie
696 --disable-qom-cast-debug
697 --disable-strip
698--target-list-exclude=aarch64-softmmu,microblaze-softmmu,mips64-softmmu,mipsel-softmmu,ppc64-softm…
701 build-libvhost-user:
706 job: amd64-fedora-container
708 - mkdir subprojects/libvhost-user/build
709 - cd subprojects/libvhost-user/build
710 - meson
711 - ninja
715 build-tools-and-docs-debian:
717 - .native_build_job_template
718 - .native_build_artifact_template
720 job: amd64-debian-container
721 # when running on 'master' we use pre-existing container
724 IMAGE: debian
725 MAKE_CHECK_ARGS: check-unit ctags TAGS cscope
726 CONFIGURE_ARGS: --disable-system --disable-user --enable-docs --enable-tools
730 # "public" directory will be deployed to $USER.gitlab.io/$PROJECT
736 # publish from 'stable-NNN' branches as that content is outdated.
744 image: $CI_REGISTRY_IMAGE/qemu/debian:$QEMU_CI_CONTAINER_TAG
747 - job: build-tools-and-docs-debian
749 - mkdir -p public
750 # HTML-ised source tree
751 - make gtags
754 - CI_COMMIT_MESSAGE= CI_COMMIT_TAG_MESSAGE= htags
755 -anT --tree-view=filetree -m qemu_init
756 -t "Welcome to the QEMU sourcecode"
757 - mv HTML public/src
759 - make -C build install DESTDIR=$(pwd)/temp-install
760 - mv temp-install/usr/local/share/doc/qemu/* public/
764 - public
774 - job: amd64-fedora-container
777 - dnf install -y curl wget
779 …# would be nice to cancel the job if over quota (https://gitlab.com/gitlab-org/gitlab/-/issues/256…
781 …# curl --request POST --header "PRIVATE-TOKEN: $CI_JOB_TOKEN" "${CI_SERVER_URL}/api/v4/projects/…
782- 'scripts/coverity-scan/run-coverity-scan --check-upload-only || { exitcode=$?; if test $exitcode…
787 …scripts/coverity-scan/run-coverity-scan --update-tools-only > update-tools.log 2>&1 || { cat updat…
788 scripts/coverity-scan/run-coverity-scan --no-update-tools'
790 - if: '$COVERITY_TOKEN == null'
792 - if: '$COVERITY_EMAIL == null'
795 - if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_PIPELINE_SOURCE == "schedule"'
797 - if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM'
800 - if: '$QEMU_CI != "1" && $QEMU_CI != "2"'
803 - when: manual