1language: c 2python: 3 - "2.4" 4compiler: 5 - gcc 6 - clang 7notifications: 8 irc: 9 channels: 10 - "irc.oftc.net#qemu" 11 on_success: change 12 on_failure: always 13env: 14 global: 15 - TEST_CMD="" 16 - EXTRA_CONFIG="" 17 # Development packages, EXTRA_PKGS saved for additional builds 18 - CORE_PKGS="libusb-1.0-0-dev libiscsi-dev librados-dev libncurses5-dev" 19 - NET_PKGS="libseccomp-dev libgnutls-dev libssh2-1-dev libspice-server-dev libspice-protocol-dev libnss3-dev" 20 - GUI_PKGS="libgtk-3-dev libvte-2.90-dev libsdl1.2-dev libpng12-dev libpixman-1-dev" 21 - EXTRA_PKGS="" 22 matrix: 23 # Group major targets together with their linux-user counterparts 24 - TARGETS=alpha-softmmu,alpha-linux-user 25 - TARGETS=arm-softmmu,arm-linux-user,armeb-linux-user,aarch64-softmmu,aarch64-linux-user 26 - TARGETS=cris-softmmu,cris-linux-user 27 - TARGETS=i386-softmmu,i386-linux-user,x86_64-softmmu,x86_64-linux-user 28 - TARGETS=m68k-softmmu,m68k-linux-user 29 - TARGETS=microblaze-softmmu,microblazeel-softmmu,microblaze-linux-user,microblazeel-linux-user 30 - TARGETS=mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu 31 - TARGETS=mips-linux-user,mips64-linux-user,mips64el-linux-user,mipsel-linux-user,mipsn32-linux-user,mipsn32el-linux-user 32 - TARGETS=or32-softmmu,or32-linux-user 33 - TARGETS=ppc-softmmu,ppc64-softmmu,ppcemb-softmmu,ppc-linux-user,ppc64-linux-user,ppc64abi32-linux-user,ppc64le-linux-user 34 - TARGETS=s390x-softmmu,s390x-linux-user 35 - TARGETS=sh4-softmmu,sh4eb-softmmu,sh4-linux-user sh4eb-linux-user 36 - TARGETS=sparc-softmmu,sparc64-softmmu,sparc-linux-user,sparc32plus-linux-user,sparc64-linux-user 37 - TARGETS=unicore32-softmmu,unicore32-linux-user 38 # Group remaining softmmu only targets into one build 39 - TARGETS=lm32-softmmu,moxie-softmmu,tricore-softmmu,xtensa-softmmu,xtensaeb-softmmu 40git: 41 # we want to do this ourselves 42 submodules: false 43before_install: 44 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ 45 - git submodule update --init --recursive 46 - sudo apt-get update -qq 47 - sudo apt-get install -qq ${CORE_PKGS} ${NET_PKGS} ${GUI_PKGS} ${EXTRA_PKGS} 48before_script: 49 - ./configure --target-list=${TARGETS} --enable-debug-tcg ${EXTRA_CONFIG} 50script: 51 - make -j2 && ${TEST_CMD} 52matrix: 53 # We manually include a number of additional build for non-standard bits 54 include: 55 # Make check target (we only do this once) 56 - env: 57 - TARGETS=alpha-softmmu,arm-softmmu,aarch64-softmmu,cris-softmmu, 58 i386-softmmu,x86_64-softmmu,m68k-softmmu,microblaze-softmmu, 59 microblazeel-softmmu,mips-softmmu,mips64-softmmu, 60 mips64el-softmmu,mipsel-softmmu,or32-softmmu,ppc-softmmu, 61 ppc64-softmmu,ppcemb-softmmu,s390x-softmmu,sh4-softmmu, 62 sh4eb-softmmu,sparc-softmmu,sparc64-softmmu, 63 unicore32-softmmu,unicore32-linux-user, 64 lm32-softmmu,moxie-softmmu,tricore-softmmu,xtensa-softmmu, 65 xtensaeb-softmmu 66 TEST_CMD="make check" 67 compiler: gcc 68 # Debug related options 69 - env: TARGETS=i386-softmmu,x86_64-softmmu 70 EXTRA_CONFIG="--enable-debug" 71 compiler: gcc 72 - env: TARGETS=i386-softmmu,x86_64-softmmu 73 EXTRA_CONFIG="--enable-debug --enable-tcg-interpreter" 74 compiler: gcc 75 # All the extra -dev packages 76 - env: TARGETS=i386-softmmu,x86_64-softmmu 77 EXTRA_PKGS="libaio-dev libcap-ng-dev libattr1-dev libbrlapi-dev uuid-dev libusb-1.0.0-dev" 78 compiler: gcc 79 # Currently configure doesn't force --disable-pie 80 - env: TARGETS=i386-softmmu,x86_64-softmmu 81 EXTRA_CONFIG="--enable-gprof --enable-gcov --disable-pie" 82 compiler: gcc 83 - env: TARGETS=i386-softmmu,x86_64-softmmu 84 EXTRA_PKGS="sparse" 85 EXTRA_CONFIG="--enable-sparse" 86 compiler: gcc 87 # All the trace backends (apart from dtrace) 88 - env: TARGETS=i386-softmmu,x86_64-softmmu 89 EXTRA_CONFIG="--enable-trace-backends=stderr" 90 compiler: gcc 91 - env: TARGETS=i386-softmmu,x86_64-softmmu 92 EXTRA_CONFIG="--enable-trace-backends=simple" 93 compiler: gcc 94 - env: TARGETS=i386-softmmu,x86_64-softmmu 95 EXTRA_CONFIG="--enable-trace-backends=ftrace" 96 compiler: gcc 97 - env: TARGETS=i386-softmmu,x86_64-softmmu 98 EXTRA_PKGS="liblttng-ust-dev liburcu-dev" 99 EXTRA_CONFIG="--enable-trace-backends=ust" 100 compiler: gcc 101