1*71920809SPhilippe Mathieu-Daudéinclude: 2*71920809SPhilippe Mathieu-Daudé - local: '/.gitlab-ci-edk2.yml' 3*71920809SPhilippe Mathieu-Daudé 40a8b05c7SThomas Huthbefore_script: 50a8b05c7SThomas Huth - apt-get update -qq 60a8b05c7SThomas Huth - apt-get install -y -qq flex bison libglib2.0-dev libpixman-1-dev genisoimage 70a8b05c7SThomas Huth 80a8b05c7SThomas Huthbuild-system1: 90a8b05c7SThomas Huth script: 100a8b05c7SThomas Huth - apt-get install -y -qq libgtk-3-dev libvte-dev nettle-dev libcacard-dev 1117db6bf4SThomas Huth libusb-dev libvde-dev libspice-protocol-dev libgl1-mesa-dev libvdeplug-dev 12bc4486fbSPaolo Bonzini - mkdir build 13bc4486fbSPaolo Bonzini - cd build 14bc4486fbSPaolo Bonzini - ../configure --enable-werror --target-list="aarch64-softmmu alpha-softmmu 150a8b05c7SThomas Huth cris-softmmu hppa-softmmu lm32-softmmu moxie-softmmu microblazeel-softmmu 160a8b05c7SThomas Huth mips64el-softmmu m68k-softmmu ppc-softmmu riscv64-softmmu sparc-softmmu" 170a8b05c7SThomas Huth - make -j2 180a8b05c7SThomas Huth - make -j2 check 190a8b05c7SThomas Huth 200a8b05c7SThomas Huthbuild-system2: 210a8b05c7SThomas Huth script: 220a8b05c7SThomas Huth - apt-get install -y -qq libsdl2-dev libgcrypt-dev libbrlapi-dev libaio-dev 230a8b05c7SThomas Huth libfdt-dev liblzo2-dev librdmacm-dev libibverbs-dev libibumad-dev 24bc4486fbSPaolo Bonzini - mkdir build 25bc4486fbSPaolo Bonzini - cd build 26bc4486fbSPaolo Bonzini - ../configure --enable-werror --target-list="tricore-softmmu unicore32-softmmu 270a8b05c7SThomas Huth microblaze-softmmu mips-softmmu riscv32-softmmu s390x-softmmu sh4-softmmu 280a8b05c7SThomas Huth sparc64-softmmu x86_64-softmmu xtensa-softmmu nios2-softmmu or1k-softmmu" 290a8b05c7SThomas Huth - make -j2 300a8b05c7SThomas Huth - make -j2 check 310a8b05c7SThomas Huth 320a8b05c7SThomas Huthbuild-disabled: 330a8b05c7SThomas Huth script: 34bc4486fbSPaolo Bonzini - mkdir build 35bc4486fbSPaolo Bonzini - cd build 36bc4486fbSPaolo Bonzini - ../configure --enable-werror --disable-rdma --disable-slirp --disable-curl 370a8b05c7SThomas Huth --disable-capstone --disable-live-block-migration --disable-glusterfs 380a8b05c7SThomas Huth --disable-replication --disable-coroutine-pool --disable-smartcard 390a8b05c7SThomas Huth --disable-guest-agent --disable-curses --disable-libxml2 --disable-tpm 400a8b05c7SThomas Huth --disable-qom-cast-debug --disable-spice --disable-vhost-vsock 410a8b05c7SThomas Huth --disable-vhost-net --disable-vhost-crypto --disable-vhost-user 420a8b05c7SThomas Huth --target-list="i386-softmmu ppc64-softmmu mips64-softmmu i386-linux-user" 430a8b05c7SThomas Huth - make -j2 440a8b05c7SThomas Huth - make -j2 check-qtest SPEED=slow 450a8b05c7SThomas Huth 460a8b05c7SThomas Huthbuild-tcg-disabled: 470a8b05c7SThomas Huth script: 482831a7e5SThomas Huth - apt-get install -y -qq clang libgtk-3-dev libusb-dev 49bc4486fbSPaolo Bonzini - mkdir build 50bc4486fbSPaolo Bonzini - cd build 51bc4486fbSPaolo Bonzini - ../configure --cc=clang --enable-werror --disable-tcg --audio-drv-list="" 520a8b05c7SThomas Huth - make -j2 530a8b05c7SThomas Huth - make check-unit 540a8b05c7SThomas Huth - make check-qapi-schema 550a8b05c7SThomas Huth - cd tests/qemu-iotests/ 560a8b05c7SThomas Huth - ./check -raw 001 002 003 004 005 008 009 010 011 012 021 025 032 033 048 570a8b05c7SThomas Huth 052 063 077 086 101 104 106 113 147 148 150 151 152 157 159 160 580a8b05c7SThomas Huth 163 170 171 183 184 192 194 197 205 208 215 221 222 226 227 236 5972e031f3SThomas Huth - ./check -qcow2 028 040 051 056 057 058 065 067 068 082 085 091 095 096 102 6072e031f3SThomas Huth 122 124 127 129 132 139 142 144 145 147 151 152 155 157 165 194 6172e031f3SThomas Huth 196 197 200 202 203 205 208 209 215 216 218 222 227 234 246 247 6272e031f3SThomas Huth 248 250 254 255 256 630a8b05c7SThomas Huth 640a8b05c7SThomas Huthbuild-user: 650a8b05c7SThomas Huth script: 66bc4486fbSPaolo Bonzini - mkdir build 67bc4486fbSPaolo Bonzini - cd build 68bc4486fbSPaolo Bonzini - ../configure --enable-werror --disable-system --disable-guest-agent 690a8b05c7SThomas Huth --disable-capstone --disable-slirp --disable-fdt 700a8b05c7SThomas Huth - make -j2 710a8b05c7SThomas Huth - make run-tcg-tests-i386-linux-user run-tcg-tests-x86_64-linux-user 720a8b05c7SThomas Huth 730a8b05c7SThomas Huthbuild-clang: 740a8b05c7SThomas Huth script: 7524e15a0bSDr. David Alan Gilbert - apt-get install -y -qq clang libsdl2-dev libattr1-dev libcap-ng-dev 760a8b05c7SThomas Huth xfslibs-dev libiscsi-dev libnfs-dev libseccomp-dev gnutls-dev librbd-dev 77bc4486fbSPaolo Bonzini - mkdir build 78bc4486fbSPaolo Bonzini - cd build 79bc4486fbSPaolo Bonzini - ../configure --cc=clang --cxx=clang++ --enable-werror 800a8b05c7SThomas Huth --target-list="alpha-softmmu arm-softmmu m68k-softmmu mips64-softmmu 810a8b05c7SThomas Huth ppc-softmmu s390x-softmmu x86_64-softmmu arm-linux-user" 820a8b05c7SThomas Huth - make -j2 830a8b05c7SThomas Huth - make -j2 check 845f55d64bSThomas Huth 855f55d64bSThomas Huthbuild-tci: 865f55d64bSThomas Huth script: 875f55d64bSThomas Huth - TARGETS="aarch64 alpha arm hppa m68k microblaze moxie ppc64 s390x x86_64" 88bc4486fbSPaolo Bonzini - mkdir build 89bc4486fbSPaolo Bonzini - cd build 90bc4486fbSPaolo Bonzini - ../configure --enable-tcg-interpreter 915f55d64bSThomas Huth --target-list="$(for tg in $TARGETS; do echo -n ${tg}'-softmmu '; done)" 925f55d64bSThomas Huth - make -j2 93c82b9548SThomas Huth - make run-tcg-tests-x86_64-softmmu 941e8a1faeSThomas Huth - make tests/qtest/boot-serial-test tests/qtest/cdrom-test tests/qtest/pxe-test 955f55d64bSThomas Huth - for tg in $TARGETS ; do 965f55d64bSThomas Huth export QTEST_QEMU_BINARY="${tg}-softmmu/qemu-system-${tg}" ; 971e8a1faeSThomas Huth ./tests/qtest/boot-serial-test || exit 1 ; 981e8a1faeSThomas Huth ./tests/qtest/cdrom-test || exit 1 ; 995f55d64bSThomas Huth done 1001e8a1faeSThomas Huth - QTEST_QEMU_BINARY="x86_64-softmmu/qemu-system-x86_64" ./tests/qtest/pxe-test 1011e8a1faeSThomas Huth - QTEST_QEMU_BINARY="s390x-softmmu/qemu-system-s390x" 1021e8a1faeSThomas Huth ./tests/qtest/pxe-test -m slow 103