]>
Commit | Line | Data |
---|---|---|
71920809 | 1 | include: |
922febe2 TH |
2 | - local: '/.gitlab-ci.d/edk2.yml' |
3 | - local: '/.gitlab-ci.d/opensbi.yml' | |
71920809 | 4 | |
65ea4e65 CR |
5 | .update_apt_template: &before_script_apt |
6 | before_script: | |
7 | - apt-get update -qq | |
b5d621ff TH |
8 | - apt-get install -y -qq git gcc libglib2.0-dev libpixman-1-dev make |
9 | genisoimage | |
10 | ||
11 | .update_dnf_template: &before_script_dnf | |
12 | before_script: | |
13 | - dnf update -y | |
14 | - dnf install -y bzip2 diffutils gcc git genisoimage findutils glib2-devel | |
15 | make python3 perl-podlators perl-Test-Harness pixman-devel zlib-devel | |
0a8b05c7 TH |
16 | |
17 | build-system1: | |
b5d621ff | 18 | image: ubuntu:19.10 |
65ea4e65 | 19 | <<: *before_script_apt |
0a8b05c7 TH |
20 | script: |
21 | - apt-get install -y -qq libgtk-3-dev libvte-dev nettle-dev libcacard-dev | |
17db6bf4 | 22 | libusb-dev libvde-dev libspice-protocol-dev libgl1-mesa-dev libvdeplug-dev |
bc4486fb PB |
23 | - mkdir build |
24 | - cd build | |
25 | - ../configure --enable-werror --target-list="aarch64-softmmu alpha-softmmu | |
0a8b05c7 TH |
26 | cris-softmmu hppa-softmmu lm32-softmmu moxie-softmmu microblazeel-softmmu |
27 | mips64el-softmmu m68k-softmmu ppc-softmmu riscv64-softmmu sparc-softmmu" | |
28 | - make -j2 | |
29 | - make -j2 check | |
30 | ||
31 | build-system2: | |
b5d621ff TH |
32 | image: fedora:latest |
33 | <<: *before_script_dnf | |
0a8b05c7 | 34 | script: |
b5d621ff TH |
35 | - yum install -y SDL2-devel libgcrypt-devel brlapi-devel libaio-devel |
36 | libfdt-devel lzo-devel librdmacm-devel libibverbs-devel libibumad-devel | |
37 | libzstd-devel | |
bc4486fb PB |
38 | - mkdir build |
39 | - cd build | |
40 | - ../configure --enable-werror --target-list="tricore-softmmu unicore32-softmmu | |
0a8b05c7 TH |
41 | microblaze-softmmu mips-softmmu riscv32-softmmu s390x-softmmu sh4-softmmu |
42 | sparc64-softmmu x86_64-softmmu xtensa-softmmu nios2-softmmu or1k-softmmu" | |
43 | - make -j2 | |
44 | - make -j2 check | |
45 | ||
46 | build-disabled: | |
b5d621ff TH |
47 | image: fedora:latest |
48 | <<: *before_script_dnf | |
0a8b05c7 | 49 | script: |
bc4486fb PB |
50 | - mkdir build |
51 | - cd build | |
52 | - ../configure --enable-werror --disable-rdma --disable-slirp --disable-curl | |
0a8b05c7 TH |
53 | --disable-capstone --disable-live-block-migration --disable-glusterfs |
54 | --disable-replication --disable-coroutine-pool --disable-smartcard | |
55 | --disable-guest-agent --disable-curses --disable-libxml2 --disable-tpm | |
56 | --disable-qom-cast-debug --disable-spice --disable-vhost-vsock | |
57 | --disable-vhost-net --disable-vhost-crypto --disable-vhost-user | |
58 | --target-list="i386-softmmu ppc64-softmmu mips64-softmmu i386-linux-user" | |
59 | - make -j2 | |
60 | - make -j2 check-qtest SPEED=slow | |
61 | ||
62 | build-tcg-disabled: | |
b5d621ff TH |
63 | image: centos:8 |
64 | <<: *before_script_dnf | |
0a8b05c7 | 65 | script: |
b5d621ff | 66 | - dnf install -y clang gtk3-devel libusbx-devel libgcrypt-devel |
bc4486fb PB |
67 | - mkdir build |
68 | - cd build | |
69 | - ../configure --cc=clang --enable-werror --disable-tcg --audio-drv-list="" | |
0a8b05c7 TH |
70 | - make -j2 |
71 | - make check-unit | |
72 | - make check-qapi-schema | |
73 | - cd tests/qemu-iotests/ | |
74 | - ./check -raw 001 002 003 004 005 008 009 010 011 012 021 025 032 033 048 | |
c7cf4ddb TH |
75 | 052 063 077 086 101 104 106 113 148 150 151 152 157 159 160 163 |
76 | 170 171 183 184 192 194 197 208 215 221 222 226 227 236 253 277 | |
77 | - ./check -qcow2 028 051 056 057 058 065 067 068 082 085 091 095 096 102 122 | |
78 | 124 132 139 142 144 145 151 152 155 157 165 194 196 197 200 202 | |
79 | 208 209 215 216 218 222 227 234 246 247 248 250 254 255 257 258 | |
80 | 260 261 262 263 264 270 272 273 277 279 | |
0a8b05c7 TH |
81 | |
82 | build-user: | |
65ea4e65 | 83 | <<: *before_script_apt |
0a8b05c7 | 84 | script: |
bc4486fb PB |
85 | - mkdir build |
86 | - cd build | |
87 | - ../configure --enable-werror --disable-system --disable-guest-agent | |
0a8b05c7 TH |
88 | --disable-capstone --disable-slirp --disable-fdt |
89 | - make -j2 | |
90 | - make run-tcg-tests-i386-linux-user run-tcg-tests-x86_64-linux-user | |
91 | ||
92 | build-clang: | |
b5d621ff TH |
93 | image: fedora:latest |
94 | <<: *before_script_dnf | |
0a8b05c7 | 95 | script: |
b5d621ff TH |
96 | - yum install -y clang SDL2-devel libattr-devel libcap-ng-devel xfsprogs-devel |
97 | libiscsi-devel libnfs-devel libseccomp-devel gnutls-devel librbd-devel | |
bc4486fb PB |
98 | - mkdir build |
99 | - cd build | |
100 | - ../configure --cc=clang --cxx=clang++ --enable-werror | |
0a8b05c7 TH |
101 | --target-list="alpha-softmmu arm-softmmu m68k-softmmu mips64-softmmu |
102 | ppc-softmmu s390x-softmmu x86_64-softmmu arm-linux-user" | |
103 | - make -j2 | |
104 | - make -j2 check | |
5f55d64b TH |
105 | |
106 | build-tci: | |
b5d621ff TH |
107 | image: centos:8 |
108 | <<: *before_script_dnf | |
5f55d64b TH |
109 | script: |
110 | - TARGETS="aarch64 alpha arm hppa m68k microblaze moxie ppc64 s390x x86_64" | |
bc4486fb PB |
111 | - mkdir build |
112 | - cd build | |
113 | - ../configure --enable-tcg-interpreter | |
5f55d64b TH |
114 | --target-list="$(for tg in $TARGETS; do echo -n ${tg}'-softmmu '; done)" |
115 | - make -j2 | |
c82b9548 | 116 | - make run-tcg-tests-x86_64-softmmu |
1e8a1fae | 117 | - make tests/qtest/boot-serial-test tests/qtest/cdrom-test tests/qtest/pxe-test |
5f55d64b TH |
118 | - for tg in $TARGETS ; do |
119 | export QTEST_QEMU_BINARY="${tg}-softmmu/qemu-system-${tg}" ; | |
1e8a1fae TH |
120 | ./tests/qtest/boot-serial-test || exit 1 ; |
121 | ./tests/qtest/cdrom-test || exit 1 ; | |
5f55d64b | 122 | done |
1e8a1fae TH |
123 | - QTEST_QEMU_BINARY="x86_64-softmmu/qemu-system-x86_64" ./tests/qtest/pxe-test |
124 | - QTEST_QEMU_BINARY="s390x-softmmu/qemu-system-s390x" | |
125 | ./tests/qtest/pxe-test -m slow |