Alex Bennée | 9531057 | 2019-01-09 10:42:00 +0000 | [diff] [blame] | 1 | # The current Travis default is a VM based 16.04 Xenial on GCE |
| 2 | # Additional builds with specific requirements for a full VM need to |
| 3 | # be added as additional matrix: entries later on |
| 4 | dist: xenial |
Alex Bennée | fe863ab | 2013-11-06 10:43:37 +0000 | [diff] [blame] | 5 | language: c |
Alex Bennée | fe863ab | 2013-11-06 10:43:37 +0000 | [diff] [blame] | 6 | compiler: |
| 7 | - gcc |
Alex Bennée | 4c33d42 | 2016-01-31 17:29:46 +0000 | [diff] [blame] | 8 | cache: ccache |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 9 | |
| 10 | |
Alex Bennée | 692d162 | 2016-01-14 19:21:16 +0000 | [diff] [blame] | 11 | addons: |
| 12 | apt: |
| 13 | packages: |
Alex Bennée | 3226528 | 2016-09-30 22:31:03 +0100 | [diff] [blame] | 14 | # Build dependencies |
Alex Bennée | 692d162 | 2016-01-14 19:21:16 +0000 | [diff] [blame] | 15 | - libaio-dev |
| 16 | - libattr1-dev |
| 17 | - libbrlapi-dev |
| 18 | - libcap-ng-dev |
Philippe Mathieu-Daudé | 7524a39 | 2018-02-12 15:46:50 -0300 | [diff] [blame] | 19 | - libgcc-4.8-dev |
Alex Bennée | 692d162 | 2016-01-14 19:21:16 +0000 | [diff] [blame] | 20 | - libgnutls-dev |
| 21 | - libgtk-3-dev |
| 22 | - libiscsi-dev |
| 23 | - liblttng-ust-dev |
| 24 | - libncurses5-dev |
Marc-André Lureau | d83414e | 2018-01-16 16:11:52 +0100 | [diff] [blame] | 25 | - libnfs-dev |
Alex Bennée | 692d162 | 2016-01-14 19:21:16 +0000 | [diff] [blame] | 26 | - libnss3-dev |
| 27 | - libpixman-1-dev |
| 28 | - libpng12-dev |
| 29 | - librados-dev |
| 30 | - libsdl1.2-dev |
| 31 | - libseccomp-dev |
| 32 | - libspice-protocol-dev |
| 33 | - libspice-server-dev |
Pino Toscano | b10d49d | 2019-06-20 22:08:40 +0200 | [diff] [blame] | 34 | - libssh-dev |
Alex Bennée | 692d162 | 2016-01-14 19:21:16 +0000 | [diff] [blame] | 35 | - liburcu-dev |
| 36 | - libusb-1.0-0-dev |
Alex Bennée | 9531057 | 2019-01-09 10:42:00 +0000 | [diff] [blame] | 37 | - libvte-2.91-dev |
Alex Bennée | 692d162 | 2016-01-14 19:21:16 +0000 | [diff] [blame] | 38 | - sparse |
| 39 | - uuid-dev |
Alex Bennée | 0708e64 | 2018-06-20 12:00:07 +0100 | [diff] [blame] | 40 | - gcovr |
Alex Bennée | 91fa7dd | 2019-01-09 14:20:54 +0000 | [diff] [blame] | 41 | homebrew: |
| 42 | packages: |
Alex Bennée | 91fa7dd | 2019-01-09 14:20:54 +0000 | [diff] [blame] | 43 | - glib |
| 44 | - pixman |
Thomas Huth | db2b95d | 2019-04-23 12:59:36 +0200 | [diff] [blame] | 45 | - gnu-sed |
Alex Bennée | 71451cf | 2019-06-19 07:57:49 +0100 | [diff] [blame] | 46 | update: true |
Alex Bennée | 692d162 | 2016-01-14 19:21:16 +0000 | [diff] [blame] | 47 | |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 48 | |
Pranith Kumar | cb4c253 | 2016-06-27 14:13:22 -0400 | [diff] [blame] | 49 | # The channel name "irc.oftc.net#qemu" is encrypted against qemu/qemu |
| 50 | # to prevent IRC notifications from forks. This was created using: |
| 51 | # $ travis encrypt -r "qemu/qemu" "irc.oftc.net#qemu" |
Alex Bennée | 39d16d2 | 2014-03-12 14:13:53 +0000 | [diff] [blame] | 52 | notifications: |
| 53 | irc: |
| 54 | channels: |
Pranith Kumar | cb4c253 | 2016-06-27 14:13:22 -0400 | [diff] [blame] | 55 | - secure: "F7GDRgjuOo5IUyRLqSkmDL7kvdU4UcH3Lm/W2db2JnDHTGCqgEdaYEYKciyCLZ57vOTsTsOgesN8iUT7hNHBd1KWKjZe9KDTZWppWRYVwAwQMzVeSOsbbU4tRoJ6Pp+3qhH1Z0eGYR9ZgKYAoTumDFgSAYRp4IscKS8jkoedOqM=" |
Alex Bennée | 39d16d2 | 2014-03-12 14:13:53 +0000 | [diff] [blame] | 56 | on_success: change |
| 57 | on_failure: always |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 58 | |
| 59 | |
Alex Bennée | fe863ab | 2013-11-06 10:43:37 +0000 | [diff] [blame] | 60 | env: |
| 61 | global: |
Philippe Mathieu-Daudé | ebf2ff6 | 2018-06-21 09:26:37 -0300 | [diff] [blame] | 62 | - SRC_DIR="." |
| 63 | - BUILD_DIR="." |
Alex Bennée | 570f3c7 | 2019-02-01 17:12:29 +0000 | [diff] [blame] | 64 | - BASE_CONFIG="--disable-docs --disable-tools" |
Daniel P. Berrangé | e2576f9 | 2019-01-09 16:31:13 +0000 | [diff] [blame] | 65 | - TEST_CMD="make check -j3 V=1" |
Alex Bennée | 8c3daf9 | 2019-03-19 12:09:49 +0000 | [diff] [blame] | 66 | # This is broadly a list of "mainline" softmmu targets which have support across the major distros |
| 67 | - MAIN_SOFTMMU_TARGETS="aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu" |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 68 | |
Alex Bennée | cb021cf | 2014-09-24 11:13:55 +0100 | [diff] [blame] | 69 | git: |
| 70 | # we want to do this ourselves |
| 71 | submodules: false |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 72 | |
| 73 | |
Alex Bennée | eebf294 | 2014-09-24 11:13:54 +0100 | [diff] [blame] | 74 | before_script: |
Philippe Mathieu-Daudé | ebf2ff6 | 2018-06-21 09:26:37 -0300 | [diff] [blame] | 75 | - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} |
Alex Bennée | 570f3c7 | 2019-02-01 17:12:29 +0000 | [diff] [blame] | 76 | - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; } |
Alex Bennée | eebf294 | 2014-09-24 11:13:54 +0100 | [diff] [blame] | 77 | script: |
Alex Bennée | 3a37c13 | 2019-07-16 15:53:02 +0100 | [diff] [blame] | 78 | - make -j3 && travis_retry ${TEST_CMD} |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 79 | |
| 80 | |
Alex Bennée | fe863ab | 2013-11-06 10:43:37 +0000 | [diff] [blame] | 81 | matrix: |
Alex Bennée | fe863ab | 2013-11-06 10:43:37 +0000 | [diff] [blame] | 82 | include: |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 83 | - env: |
Alex Bennée | c3c1874 | 2019-06-17 16:35:22 +0100 | [diff] [blame] | 84 | - CONFIG="--disable-system --static" |
Daniel P. Berrangé | 3e09423 | 2019-01-09 16:31:07 +0000 | [diff] [blame] | 85 | |
| 86 | |
Alex Bennée | 8c3daf9 | 2019-03-19 12:09:49 +0000 | [diff] [blame] | 87 | # we split the system builds as it takes a while to build them all |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 88 | - env: |
Alex Bennée | 8c3daf9 | 2019-03-19 12:09:49 +0000 | [diff] [blame] | 89 | - CONFIG="--disable-user --target-list=${MAIN_SOFTMMU_TARGETS}" |
| 90 | |
| 91 | |
| 92 | - env: |
| 93 | - CONFIG="--disable-user --target-list-exclude=${MAIN_SOFTMMU_TARGETS}" |
Daniel P. Berrangé | 3e09423 | 2019-01-09 16:31:07 +0000 | [diff] [blame] | 94 | |
| 95 | |
Alex Bennée | df2bb38 | 2019-02-28 10:15:29 +0000 | [diff] [blame] | 96 | # Just build tools and run minimal unit and softfloat checks |
| 97 | - env: |
| 98 | - BASE_CONFIG="--enable-tools" |
| 99 | - CONFIG="--disable-user --disable-system" |
| 100 | - TEST_CMD="make check-unit check-softfloat -j3" |
| 101 | |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 102 | - env: |
Alex Bennée | 4e6e7df | 2019-02-20 11:28:25 +0000 | [diff] [blame] | 103 | - CONFIG="--enable-debug --enable-debug-tcg --disable-user" |
| 104 | |
| 105 | |
| 106 | # TCG debug can be run just on it's own and is mostly agnostic to user/softmmu distinctions |
| 107 | - env: |
| 108 | - CONFIG="--enable-debug-tcg --disable-system" |
Daniel P. Berrangé | 3e09423 | 2019-01-09 16:31:07 +0000 | [diff] [blame] | 109 | |
| 110 | |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 111 | - env: |
Alex Bennée | aec2927 | 2019-03-21 12:42:56 +0000 | [diff] [blame] | 112 | - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-libusb --disable-replication --target-list=${MAIN_SOFTMMU_TARGETS}" |
Daniel P. Berrangé | 3e09423 | 2019-01-09 16:31:07 +0000 | [diff] [blame] | 113 | |
| 114 | |
Alex Bennée | 2f6c252 | 2019-03-08 15:52:13 +0000 | [diff] [blame] | 115 | # Module builds are mostly of interest to major distros |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 116 | - env: |
Alex Bennée | 8c3daf9 | 2019-03-19 12:09:49 +0000 | [diff] [blame] | 117 | - CONFIG="--enable-modules --target-list=${MAIN_SOFTMMU_TARGETS}" |
Daniel P. Berrangé | 3e09423 | 2019-01-09 16:31:07 +0000 | [diff] [blame] | 118 | |
| 119 | |
Alex Bennée | f3908ff | 2019-02-06 15:54:08 +0000 | [diff] [blame] | 120 | # Alternate coroutines implementations are only really of interest to KVM users |
| 121 | # However we can't test against KVM on Travis so we can only run unit tests |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 122 | - env: |
Alex Bennée | f3908ff | 2019-02-06 15:54:08 +0000 | [diff] [blame] | 123 | - CONFIG="--with-coroutine=ucontext --disable-tcg" |
| 124 | - TEST_CMD="make check-unit -j3 V=1" |
Daniel P. Berrangé | 3e09423 | 2019-01-09 16:31:07 +0000 | [diff] [blame] | 125 | |
| 126 | |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 127 | - env: |
Alex Bennée | f3908ff | 2019-02-06 15:54:08 +0000 | [diff] [blame] | 128 | - CONFIG="--with-coroutine=sigaltstack --disable-tcg" |
| 129 | - TEST_CMD="make check-unit -j3 V=1" |
Daniel P. Berrangé | 3e09423 | 2019-01-09 16:31:07 +0000 | [diff] [blame] | 130 | |
| 131 | |
Alex Bennée | 956d450 | 2019-03-08 15:48:08 +0000 | [diff] [blame] | 132 | # Check we can build docs and tools (out of tree) |
Alex Bennée | 570f3c7 | 2019-02-01 17:12:29 +0000 | [diff] [blame] | 133 | - env: |
Alex Bennée | 956d450 | 2019-03-08 15:48:08 +0000 | [diff] [blame] | 134 | - BUILD_DIR="out-of-tree/build/dir" SRC_DIR="../../.." |
Alex Bennée | 570f3c7 | 2019-02-01 17:12:29 +0000 | [diff] [blame] | 135 | - BASE_CONFIG="--enable-tools --enable-docs" |
| 136 | - CONFIG="--target-list=x86_64-softmmu,aarch64-linux-user" |
| 137 | addons: |
| 138 | apt: |
| 139 | packages: |
| 140 | - python-sphinx |
| 141 | - texinfo |
| 142 | - perl |
| 143 | |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 144 | |
Alex Bennée | ae6d692 | 2018-05-29 18:14:04 +0100 | [diff] [blame] | 145 | # Test with Clang for compile portability (Travis uses clang-5.0) |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 146 | - env: |
| 147 | - CONFIG="--disable-system" |
Alex Bennée | ae6d692 | 2018-05-29 18:14:04 +0100 | [diff] [blame] | 148 | compiler: clang |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 149 | |
| 150 | |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 151 | - env: |
Alex Bennée | 8c3daf9 | 2019-03-19 12:09:49 +0000 | [diff] [blame] | 152 | - CONFIG="--disable-user --target-list=${MAIN_SOFTMMU_TARGETS}" |
| 153 | compiler: clang |
| 154 | |
| 155 | |
| 156 | - env: |
Alex Bennée | 7831147 | 2019-05-28 19:21:19 +0100 | [diff] [blame] | 157 | - CONFIG="--target-list=${MAIN_SOFTMMU_TARGETS} " |
| 158 | compiler: clang |
| 159 | before_script: |
| 160 | - ./configure ${CONFIG} --extra-cflags="-fsanitize=undefined -Werror" || { cat config.log && exit 1; } |
| 161 | |
| 162 | |
| 163 | - env: |
Alex Bennée | 8c3daf9 | 2019-03-19 12:09:49 +0000 | [diff] [blame] | 164 | - CONFIG="--disable-user --target-list-exclude=${MAIN_SOFTMMU_TARGETS}" |
Daniel P. Berrange | d9a6b01 | 2016-10-27 15:23:45 +0200 | [diff] [blame] | 165 | compiler: clang |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 166 | |
| 167 | |
Alex Bennée | 6c93329 | 2016-03-15 16:12:58 +0000 | [diff] [blame] | 168 | # gprof/gcov are GCC features |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 169 | - env: |
Alex Bennée | 8c3daf9 | 2019-03-19 12:09:49 +0000 | [diff] [blame] | 170 | - CONFIG="--enable-gprof --enable-gcov --disable-pie --target-list=${MAIN_SOFTMMU_TARGETS}" |
Alex Bennée | 0708e64 | 2018-06-20 12:00:07 +0100 | [diff] [blame] | 171 | after_success: |
| 172 | - ${SRC_DIR}/scripts/travis/coverage-summary.sh |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 173 | |
| 174 | |
Alex Bennée | 6c93329 | 2016-03-15 16:12:58 +0000 | [diff] [blame] | 175 | # We manually include builds which we disable "make check" for |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 176 | - env: |
Alex Bennée | 386dc51 | 2019-03-19 12:12:52 +0000 | [diff] [blame] | 177 | - CONFIG="--without-default-devices --disable-user" |
Paolo Bonzini | 20885b5 | 2019-01-31 15:57:53 +0100 | [diff] [blame] | 178 | - TEST_CMD="" |
| 179 | |
| 180 | |
| 181 | # We manually include builds which we disable "make check" for |
| 182 | - env: |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 183 | - CONFIG="--enable-debug --enable-tcg-interpreter" |
| 184 | - TEST_CMD="" |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 185 | |
| 186 | |
Alex Bennée | f8309de | 2018-06-14 11:28:20 +0100 | [diff] [blame] | 187 | # We don't need to exercise every backend with every front-end |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 188 | - env: |
| 189 | - CONFIG="--enable-trace-backends=log,simple,syslog --disable-system" |
| 190 | - TEST_CMD="" |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 191 | |
| 192 | |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 193 | - env: |
| 194 | - CONFIG="--enable-trace-backends=ftrace --target-list=x86_64-softmmu" |
| 195 | - TEST_CMD="" |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 196 | |
| 197 | |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 198 | - env: |
| 199 | - CONFIG="--enable-trace-backends=ust --target-list=x86_64-softmmu" |
| 200 | - TEST_CMD="" |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 201 | |
| 202 | |
Alex Bennée | adcf968 | 2018-10-08 11:56:13 +0100 | [diff] [blame] | 203 | # MacOSX builds |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 204 | - env: |
Alex Bennée | 8c3daf9 | 2019-03-19 12:09:49 +0000 | [diff] [blame] | 205 | - CONFIG="--target-list=${MAIN_SOFTMMU_TARGETS}" |
Alex Bennée | 1d00203 | 2016-03-21 19:54:57 +0000 | [diff] [blame] | 206 | os: osx |
Alex Bennée | adcf968 | 2018-10-08 11:56:13 +0100 | [diff] [blame] | 207 | osx_image: xcode9.4 |
| 208 | compiler: clang |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 209 | |
| 210 | |
Philippe Mathieu-Daudé | cd7507c | 2019-02-20 20:35:41 +0100 | [diff] [blame] | 211 | - env: |
| 212 | - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu" |
| 213 | os: osx |
| 214 | osx_image: xcode10.2 |
| 215 | compiler: clang |
| 216 | |
| 217 | |
Alex Bennée | ae6d692 | 2018-05-29 18:14:04 +0100 | [diff] [blame] | 218 | # Python builds |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 219 | - env: |
| 220 | - CONFIG="--target-list=x86_64-softmmu" |
Cleber Rosa | 53fefde | 2018-11-09 10:07:09 -0500 | [diff] [blame] | 221 | language: python |
Daniel P. Berrange | 8e73a3c | 2018-01-16 13:42:16 +0000 | [diff] [blame] | 222 | python: |
Cleber Rosa | 53fefde | 2018-11-09 10:07:09 -0500 | [diff] [blame] | 223 | - "3.4" |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 224 | |
| 225 | |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 226 | - env: |
| 227 | - CONFIG="--target-list=x86_64-softmmu" |
Cleber Rosa | 53fefde | 2018-11-09 10:07:09 -0500 | [diff] [blame] | 228 | language: python |
Daniel P. Berrange | 8e73a3c | 2018-01-16 13:42:16 +0000 | [diff] [blame] | 229 | python: |
| 230 | - "3.6" |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 231 | |
| 232 | |
Cleber Rosa | aa983ff | 2018-10-18 11:31:34 -0400 | [diff] [blame] | 233 | # Acceptance (Functional) tests |
Daniel P. Berrangé | c21d7ef | 2019-01-09 16:31:08 +0000 | [diff] [blame] | 234 | - env: |
Cleber Rosa | b36b593 | 2019-03-12 13:18:24 -0400 | [diff] [blame] | 235 | - CONFIG="--python=/usr/bin/python3 --target-list=x86_64-softmmu,mips-softmmu,mips64el-softmmu,aarch64-softmmu,arm-softmmu,s390x-softmmu,alpha-softmmu" |
Eduardo Habkost | 0b98c20 | 2019-06-18 11:10:43 -0300 | [diff] [blame] | 236 | - TEST_CMD="make check-acceptance" |
Cleber Rosa | c21f30e | 2019-06-07 11:22:16 -0400 | [diff] [blame] | 237 | after_failure: |
| 238 | - cat tests/results/latest/job.log |
Cleber Rosa | aa983ff | 2018-10-18 11:31:34 -0400 | [diff] [blame] | 239 | addons: |
| 240 | apt: |
| 241 | packages: |
| 242 | - python3-pip |
Alex Bennée | 9531057 | 2019-01-09 10:42:00 +0000 | [diff] [blame] | 243 | - python3.5-venv |
Alex Bennée | 3226528 | 2016-09-30 22:31:03 +0100 | [diff] [blame] | 244 | # Using newer GCC with sanitizers |
| 245 | - addons: |
| 246 | apt: |
Alex Bennée | ac07ffc | 2018-05-30 09:09:31 +0100 | [diff] [blame] | 247 | update: true |
Alex Bennée | 3226528 | 2016-09-30 22:31:03 +0100 | [diff] [blame] | 248 | sources: |
| 249 | # PPAs for newer toolchains |
| 250 | - ubuntu-toolchain-r-test |
| 251 | packages: |
| 252 | # Extra toolchains |
Alex Bennée | 3998c25 | 2019-05-28 19:13:08 +0100 | [diff] [blame] | 253 | - gcc-9 |
| 254 | - g++-9 |
Alex Bennée | 3226528 | 2016-09-30 22:31:03 +0100 | [diff] [blame] | 255 | # Build dependencies |
| 256 | - libaio-dev |
| 257 | - libattr1-dev |
| 258 | - libbrlapi-dev |
| 259 | - libcap-ng-dev |
| 260 | - libgnutls-dev |
| 261 | - libgtk-3-dev |
| 262 | - libiscsi-dev |
| 263 | - liblttng-ust-dev |
| 264 | - libnfs-dev |
| 265 | - libncurses5-dev |
| 266 | - libnss3-dev |
| 267 | - libpixman-1-dev |
| 268 | - libpng12-dev |
| 269 | - librados-dev |
| 270 | - libsdl1.2-dev |
| 271 | - libseccomp-dev |
| 272 | - libspice-protocol-dev |
| 273 | - libspice-server-dev |
Pino Toscano | b10d49d | 2019-06-20 22:08:40 +0200 | [diff] [blame] | 274 | - libssh-dev |
Alex Bennée | 3226528 | 2016-09-30 22:31:03 +0100 | [diff] [blame] | 275 | - liburcu-dev |
| 276 | - libusb-1.0-0-dev |
Alex Bennée | 9531057 | 2019-01-09 10:42:00 +0000 | [diff] [blame] | 277 | - libvte-2.91-dev |
Alex Bennée | 3226528 | 2016-09-30 22:31:03 +0100 | [diff] [blame] | 278 | - sparse |
| 279 | - uuid-dev |
| 280 | language: generic |
| 281 | compiler: none |
| 282 | env: |
Alex Bennée | 3998c25 | 2019-05-28 19:13:08 +0100 | [diff] [blame] | 283 | - COMPILER_NAME=gcc CXX=g++-9 CC=gcc-9 |
| 284 | - CONFIG="--cc=gcc-9 --cxx=g++-9 --disable-pie --disable-linux-user" |
Alex Bennée | 3226528 | 2016-09-30 22:31:03 +0100 | [diff] [blame] | 285 | - TEST_CMD="" |
| 286 | before_script: |
Alex Bennée | 3998c25 | 2019-05-28 19:13:08 +0100 | [diff] [blame] | 287 | - ./configure ${CONFIG} --extra-cflags="-g3 -O0 -Wno-error=stringop-truncation -fsanitize=thread -fuse-ld=gold" || { cat config.log && exit 1; } |
Daniel P. Berrangé | 197be69 | 2019-01-09 16:31:06 +0000 | [diff] [blame] | 288 | |
| 289 | |
Alex Bennée | dab3a7c | 2019-02-28 10:18:43 +0000 | [diff] [blame] | 290 | # Run check-tcg against linux-user |
Alex Bennée | 65b26da | 2018-04-18 16:55:37 +0100 | [diff] [blame] | 291 | - env: |
Alex Bennée | 570f3c7 | 2019-02-01 17:12:29 +0000 | [diff] [blame] | 292 | - CONFIG="--disable-system" |
Daniel P. Berrangé | e2576f9 | 2019-01-09 16:31:13 +0000 | [diff] [blame] | 293 | - TEST_CMD="make -j3 check-tcg V=1" |
Alex Bennée | dab3a7c | 2019-02-28 10:18:43 +0000 | [diff] [blame] | 294 | |
| 295 | # Run check-tcg against softmmu targets |
| 296 | - env: |
Alex Bennée | 591ff1f | 2019-05-09 16:38:40 +0100 | [diff] [blame] | 297 | - CONFIG="--target-list=xtensa-softmmu,arm-softmmu,aarch64-softmmu,alpha-softmmu" |
Alex Bennée | dab3a7c | 2019-02-28 10:18:43 +0000 | [diff] [blame] | 298 | - TEST_CMD="make -j3 check-tcg V=1" |