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=aarch64-softmmu,aarch64-linux-user
20 - TARGETS=cris-softmmu
21 - TARGETS=i386-softmmu,x86_64-softmmu
22 - TARGETS=lm32-softmmu
23 - TARGETS=m68k-softmmu
24 - TARGETS=microblaze-softmmu,microblazeel-softmmu
25 - TARGETS=mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu
26 - TARGETS=moxie-softmmu
27 - TARGETS=or32-softmmu,
28 - TARGETS=ppc-softmmu,ppc64-softmmu,ppcemb-softmmu
29 - TARGETS=s390x-softmmu
30 - TARGETS=sh4-softmmu,sh4eb-softmmu
31 - TARGETS=sparc-softmmu,sparc64-softmmu
32 - TARGETS=unicore32-softmmu
33 - TARGETS=xtensa-softmmu,xtensaeb-softmmu
35 - git submodule update --init --recursive
36 - sudo apt-get update -qq
37 - sudo apt-get install -qq ${CORE_PKGS} ${NET_PKGS} ${GUI_PKGS} ${EXTRA_PKGS}
38 script: "./configure --target-list=${TARGETS} ${EXTRA_CONFIG} && make && ${TEST_CMD}"
40 # We manually include a number of additional build for non-standard bits
42 # Debug related options
43 - env: TARGETS=i386-softmmu,x86_64-softmmu
44 EXTRA_CONFIG="--enable-debug"
46 - env: TARGETS=i386-softmmu,x86_64-softmmu
47 EXTRA_CONFIG="--enable-debug --enable-tcg-interpreter"
49 # All the extra -dev packages
50 - env: TARGETS=i386-softmmu,x86_64-softmmu
51 EXTRA_PKGS="libaio-dev libcap-ng-dev libattr1-dev libbrlapi-dev uuid-dev libusb-1.0.0-dev"
53 # Currently configure doesn't force --disable-pie
54 - env: TARGETS=i386-softmmu,x86_64-softmmu
55 EXTRA_CONFIG="--enable-gprof --enable-gcov --disable-pie"
57 - env: TARGETS=i386-softmmu,x86_64-softmmu
59 EXTRA_CONFIG="--enable-sparse"
61 # All the trace backends (apart from dtrace)
62 - env: TARGETS=i386-softmmu,x86_64-softmmu
63 EXTRA_CONFIG="--enable-trace-backend=stderr"
65 - env: TARGETS=i386-softmmu,x86_64-softmmu
66 EXTRA_CONFIG="--enable-trace-backend=simple"
68 - env: TARGETS=i386-softmmu,x86_64-softmmu
69 EXTRA_CONFIG="--enable-trace-backend=ftrace"
72 # This disabled make check for the ftrace backend which needs more setting up
73 # Currently broken on 12.04 due to mis-packaged liburcu and changed API, will be pulled.
74 #- env: TARGETS=i386-softmmu,x86_64-softmmu
75 # EXTRA_PKGS="liblttng-ust-dev liburcu-dev"
76 # EXTRA_CONFIG="--enable-trace-backend=ust"