9 - TEST_CMD="make check"
11 # Development packages, EXTRA_PKGS saved for additional builds
12 - CORE_PKGS="libusb-1.0-0-dev libiscsi-dev librados-dev libncurses5-dev"
13 - NET_PKGS="libseccomp-dev libgnutls-dev libssh2-1-dev libspice-server-dev libspice-protocol-dev libnss3-dev"
14 - GUI_PKGS="libgtk-3-dev libvte-2.90-dev libsdl1.2-dev libpng12-dev libpixman-1-dev"
17 - TARGETS=alpha-softmmu,alpha-linux-user
18 - TARGETS=arm-softmmu,arm-linux-user
19 - TARGETS=cris-softmmu
20 - TARGETS=i386-softmmu,x86_64-softmmu
21 - TARGETS=lm32-softmmu
22 - TARGETS=m68k-softmmu
23 - TARGETS=microblaze-softmmu,microblazeel-softmmu
24 - TARGETS=mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu
25 - TARGETS=moxie-softmmu
26 - TARGETS=or32-softmmu,
27 - TARGETS=ppc-softmmu,ppc64-softmmu,ppcemb-softmmu
28 - TARGETS=s390x-softmmu
29 - TARGETS=sh4-softmmu,sh4eb-softmmu
30 - TARGETS=sparc-softmmu,sparc64-softmmu
31 - TARGETS=unicore32-softmmu
32 - TARGETS=xtensa-softmmu,xtensaeb-softmmu
34 - git submodule update --init --recursive
35 - sudo apt-get update -qq
36 - sudo apt-get install -qq ${CORE_PKGS} ${NET_PKGS} ${GUI_PKGS} ${EXTRA_PKGS}
37 script: "./configure --target-list=${TARGETS} ${EXTRA_CONFIG} && make && ${TEST_CMD}"
39 # We manually include a number of additional build for non-standard bits
41 # Debug related options
42 - env: TARGETS=i386-softmmu,x86_64-softmmu
43 EXTRA_CONFIG="--enable-debug"
45 - env: TARGETS=i386-softmmu,x86_64-softmmu
46 EXTRA_CONFIG="--enable-debug --enable-tcg-interpreter"
48 # Currently configure doesn't force --disable-pie
49 - env: TARGETS=i386-softmmu,x86_64-softmmu
50 EXTRA_CONFIG="--enable-gprof --enable-gcov --disable-pie"
52 - env: TARGETS=i386-softmmu,x86_64-softmmu
54 EXTRA_CONFIG="--enable-sparse"
56 # All the trace backends (apart from dtrace)
57 - env: TARGETS=i386-softmmu,x86_64-softmmu
58 EXTRA_CONFIG="--enable-trace-backend=stderr"
60 - env: TARGETS=i386-softmmu,x86_64-softmmu
61 EXTRA_CONFIG="--enable-trace-backend=simple"
63 - env: TARGETS=i386-softmmu,x86_64-softmmu
64 EXTRA_CONFIG="--enable-trace-backend=ftrace"
67 # This disabled make check for the ftrace backend which needs more setting up
68 # Currently broken on 12.04 due to mis-packaged liburcu and changed API, will be pulled.
69 #- env: TARGETS=i386-softmmu,x86_64-softmmu
70 # EXTRA_PKGS="liblttng-ust-dev liburcu-dev"
71 # EXTRA_CONFIG="--enable-trace-backend=ust"