]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | # SPDX-License-Identifier: GPL-2.0+ |
c7cb334d | 2 | # Copyright Roger Meier <[email protected]> |
c7cb334d MR |
3 | |
4 | # build U-Boot on Travis CI - https://travis-ci.org/ | |
5 | ||
2bb76f33 TR |
6 | sudo: required |
7 | dist: trusty | |
e4c1b4d8 | 8 | |
c7cb334d MR |
9 | language: c |
10 | ||
050c7569 RM |
11 | addons: |
12 | apt: | |
4030f166 TR |
13 | sources: |
14 | - ubuntu-toolchain-r-test | |
15 | - llvm-toolchain-trusty-7 | |
050c7569 RM |
16 | packages: |
17 | - cppcheck | |
18 | - sloccount | |
19 | - sparse | |
20 | - bc | |
21 | - build-essential | |
22 | - libsdl1.2-dev | |
07bf2122 SW |
23 | - python |
24 | - python-virtualenv | |
f2b0c007 TR |
25 | - swig |
26 | - libpython-dev | |
cd402e01 | 27 | - iasl |
0e4e38ae | 28 | - grub-efi-ia32-bin |
66a3a9cf | 29 | - grub-efi-amd64-bin |
0e4e38ae AG |
30 | - rpm2cpio |
31 | - wget | |
36dd5f1b | 32 | - device-tree-compiler |
706f0775 | 33 | - lzop |
83d73c2f | 34 | - liblz4-tool |
4997a7ed | 35 | - lzma-alone |
4030f166 TR |
36 | - libisl15 |
37 | - clang-7 | |
aa2e9c9e | 38 | - srecord |
4c58d273 | 39 | |
c7cb334d | 40 | install: |
5ac5861c TR |
41 | # Clone uboot-test-hooks |
42 | - git clone --depth=1 git://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks | |
43 | - ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname` | |
44 | - ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname` | |
c7cb334d | 45 | # prepare buildman environment |
43a68e49 | 46 | - echo -e "[toolchain]\nroot = /usr" > ~/.buildman |
f0d964f4 | 47 | - echo -e "arc = /tmp/arc_gnu_2018.09_prebuilt_uclibc_le_archs_linux_install" >> ~/.buildman |
dca268a8 | 48 | - echo -e "\n[toolchain-alias]\nsh = sh2\n" >> ~/.buildman |
c7cb334d | 49 | - cat ~/.buildman |
07bf2122 SW |
50 | - virtualenv /tmp/venv |
51 | - . /tmp/venv/bin/activate | |
f6206f85 | 52 | - pip install pytest==2.8.7 |
11ae93ee | 53 | - pip install python-subunit |
cca4f576 | 54 | - pip install pyelftools |
0e4e38ae | 55 | - grub-mkimage -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd |
66a3a9cf | 56 | - grub-mkimage -o ~/grub_x64.efi -O x86_64-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd |
0e4e38ae AG |
57 | - mkdir ~/grub2-arm |
58 | - ( cd ~/grub2-arm; wget -O - http://download.opensuse.org/ports/armv7hl/distribution/leap/42.2/repo/oss/suse/armv7hl/grub2-arm-efi-2.02~beta2-87.1.armv7hl.rpm | rpm2cpio | cpio -di ) | |
1b012a3e TT |
59 | - mkdir ~/grub2-arm64 |
60 | - ( cd ~/grub2-arm64; wget -O - http://download.opensuse.org/ports/aarch64/distribution/leap/42.2/repo/oss/suse/aarch64/grub2-arm64-efi-2.02~beta2-87.1.aarch64.rpm | rpm2cpio | cpio -di ) | |
c7cb334d MR |
61 | |
62 | env: | |
63 | global: | |
36dd5f1b | 64 | - PATH=/tmp/qemu-install/bin:/tmp/uboot-test-hooks/bin:/usr/bin:/bin |
e019660a | 65 | - PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci |
c7cb334d | 66 | - BUILD_DIR=build |
c7cb334d MR |
67 | - HOSTCC="cc" |
68 | - HOSTCXX="c++" | |
facdc5fb | 69 | - QEMU_VERSION="v3.1.0" |
c7cb334d MR |
70 | |
71 | before_script: | |
050c7569 | 72 | # install toolchains based on TOOLCHAIN} variable |
050c7569 | 73 | - if [[ "${TOOLCHAIN}" == *m68k* ]]; then ./tools/buildman/buildman --fetch-arch m68k ; fi |
cd402e01 | 74 | - if [[ "${TOOLCHAIN}" == *microblaze* ]]; then ./tools/buildman/buildman --fetch-arch microblaze ; fi |
050c7569 | 75 | - if [[ "${TOOLCHAIN}" == *mips* ]]; then ./tools/buildman/buildman --fetch-arch mips ; fi |
4c58d273 | 76 | - if [[ "${TOOLCHAIN}" == *sh* ]]; then ./tools/buildman/buildman --fetch-arch sh2 ; fi |
0533fb8b BM |
77 | - if [[ "${TOOLCHAIN}" == *i386* ]]; then |
78 | ./tools/buildman/buildman --fetch-arch i386; | |
79 | echo -e "\n[toolchain-alias]\nx86 = i386" >> ~/.buildman; | |
2ded4bf9 | 80 | fi |
80e4bbfc | 81 | - if [[ "${TOOLCHAIN}" == arc ]]; then |
f0d964f4 AB |
82 | wget https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2018.09-release/arc_gnu_2018.09_prebuilt_uclibc_le_archs_linux_install.tar.gz && |
83 | tar -C /tmp -xf arc_gnu_2018.09_prebuilt_uclibc_le_archs_linux_install.tar.gz; | |
80e4bbfc | 84 | fi |
f715ed45 RC |
85 | - if [[ "${TOOLCHAIN}" == "nds32" ]]; then |
86 | wget https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/20180521/nds32le-linux-glibc-v3-upstream.tar.gz && | |
87 | tar -C /tmp -xf nds32le-linux-glibc-v3-upstream.tar.gz && | |
88 | echo -e "\n[toolchain-prefix]\nnds32 = /tmp/nds32le-linux-glibc-v3-upstream/bin/nds32le-linux-" >> ~/.buildman; | |
89 | fi | |
b6f3a12e MF |
90 | - if [[ "${TOOLCHAIN}" == *xtensa* ]]; then |
91 | wget https://github.com/foss-xtensa/toolchain/releases/download/2018.02/x86_64-2018.02-${TOOLCHAIN}.tar.gz && | |
92 | tar -C /tmp -xf x86_64-2018.02-${TOOLCHAIN}.tar.gz && | |
93 | echo -e "\n[toolchain-prefix]\nxtensa = /tmp/2018.02/${TOOLCHAIN}/bin/${TOOLCHAIN}-" >> ~/.buildman; | |
94 | fi | |
8399538c TR |
95 | # If TOOLCHAIN is unset, we're on some flavour of ARM. |
96 | - if [[ "${TOOLCHAIN}" == "" ]]; then | |
4c58d273 DS |
97 | ./tools/buildman/buildman --fetch-arch arm && |
98 | ./tools/buildman/buildman --fetch-arch aarch64; | |
8399538c | 99 | fi |
4c58d273 | 100 | - if [[ "${TOOLCHAIN}" == "powerpc" ]]; then ./tools/buildman/buildman --fetch-arch powerpc; fi |
b6896fcb | 101 | - if [[ "${TOOLCHAIN}" == "riscv" ]]; then |
b5135e45 BM |
102 | ./tools/buildman/buildman --fetch-arch riscv64; |
103 | echo -e "\n[toolchain-alias]\nriscv = riscv64" >> ~/.buildman; | |
b6896fcb | 104 | fi |
3c643fb0 TR |
105 | - if [[ "${QEMU_TARGET}" != "" ]]; then |
106 | git clone git://git.qemu.org/qemu.git /tmp/qemu; | |
107 | pushd /tmp/qemu; | |
108 | git submodule update --init dtc && | |
984a1feb | 109 | git checkout ${QEMU_VERSION} && |
3c643fb0 TR |
110 | ./configure --prefix=/tmp/qemu-install --target-list=${QEMU_TARGET} && |
111 | make -j4 all install; | |
112 | popd; | |
113 | fi | |
c7cb334d MR |
114 | |
115 | script: | |
8304f053 SW |
116 | # Comments must be outside the command strings below, or the Travis parser |
117 | # will get confused. | |
118 | # | |
4030f166 TR |
119 | # From buildman, exit code 129 means warnings only. If we've been asked to |
120 | # use clang only do one configuration. | |
e9500f49 | 121 | - if [[ "${BUILDMAN}" != "" ]]; then |
4030f166 | 122 | ret=0; |
e9500f49 | 123 | tools/buildman/buildman -P -E ${BUILDMAN} ${OVERRIDE}|| ret=$?; |
bf1c0889 | 124 | if [[ $ret -ne 0 && $ret -ne 129 ]]; then |
baade496 | 125 | tools/buildman/buildman -sdeP ${BUILDMAN}; |
0c5145fc SW |
126 | exit $ret; |
127 | fi; | |
050c7569 | 128 | fi |
8304f053 SW |
129 | # "not a_test_which_does_not_exist" is a dummy -k parameter which will |
130 | # never prevent any test from running. That way, we can always pass | |
131 | # "-k something" even when $TEST_PY_TEST_SPEC doesnt need a custom | |
132 | # value. | |
faec290f | 133 | - export UBOOT_TRAVIS_BUILD_DIR=`cd .. && pwd`/.bm-work/${TEST_PY_BD}; |
0e4e38ae | 134 | cp ~/grub_x86.efi $UBOOT_TRAVIS_BUILD_DIR/; |
66a3a9cf | 135 | cp ~/grub_x64.efi $UBOOT_TRAVIS_BUILD_DIR/; |
0e4e38ae | 136 | cp ~/grub2-arm/usr/lib/grub2/arm-efi/grub.efi $UBOOT_TRAVIS_BUILD_DIR/grub_arm.efi; |
1b012a3e | 137 | cp ~/grub2-arm64/usr/lib/grub2/arm64-efi/grub.efi $UBOOT_TRAVIS_BUILD_DIR/grub_arm64.efi; |
faec290f | 138 | if [[ "${TEST_PY_BD}" != "" ]]; then |
8304f053 SW |
139 | ./test/py/test.py --bd ${TEST_PY_BD} ${TEST_PY_ID} |
140 | -k "${TEST_PY_TEST_SPEC:-not a_test_which_does_not_exist}" | |
faec290f | 141 | --build-dir "$UBOOT_TRAVIS_BUILD_DIR"; |
f2d07788 SG |
142 | ret=$?; |
143 | if [[ $ret -ne 0 ]]; then | |
144 | exit $ret; | |
145 | fi; | |
146 | fi; | |
147 | if [[ -n "${TEST_PY_TOOLS}" ]]; then | |
148 | PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt" | |
149 | PATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc:${PATH}" | |
53cd5d92 | 150 | ./tools/binman/binman --toolpath ${UBOOT_TRAVIS_BUILD_DIR}/tools test && |
f2d07788 SG |
151 | ./tools/patman/patman --test && |
152 | ./tools/buildman/buildman -t && | |
153 | PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt" | |
154 | PATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc:${PATH}" | |
155 | ./tools/dtoc/dtoc -t; | |
8304f053 | 156 | fi |
c7cb334d MR |
157 | |
158 | matrix: | |
159 | include: | |
160 | # we need to build by vendor due to 50min time limit for builds | |
161 | # each env setting here is a dedicated build | |
a032e0a6 SW |
162 | - name: "buildman arc" |
163 | env: | |
80e4bbfc AB |
164 | - BUILDMAN="arc" |
165 | TOOLCHAIN="arc" | |
a032e0a6 SW |
166 | - name: "buildman arm11 arm7 arm920t arm946es" |
167 | env: | |
dca268a8 | 168 | - BUILDMAN="arm11 arm7 arm920t arm946es" |
72522749 | 169 | - name: "buildman arm926ejs (non-NXP,siemens,at91,kirkwood,spear)" |
a032e0a6 | 170 | env: |
baade496 | 171 | - JOB="arm926ejs" |
72522749 EH |
172 | BUILDMAN="arm926ejs -x freescale,siemens,at91,kirkwood,spear,omap" |
173 | - name: "buildman at91 (non arm v7)" | |
a032e0a6 | 174 | env: |
72522749 EH |
175 | - BUILDMAN="at91 -x armv7" |
176 | - name: "buildman at91 (non arm926ejs)" | |
177 | env: | |
178 | - BUILDMAN="at91 -x arm926ejs" | |
a032e0a6 SW |
179 | - name: "buildman boundary engicam toradex" |
180 | env: | |
181 | - BUILDMAN="boundary engicam toradex" | |
aa132612 | 182 | - name: "buildman NXP ARM32" |
a032e0a6 SW |
183 | env: |
184 | - BUILDMAN="freescale -x powerpc,m68k,aarch64" | |
aa132612 | 185 | - name: "buildman NXP AArch64 LS101x" |
a032e0a6 | 186 | env: |
aa132612 | 187 | - BUILDMAN="freescale&aarch64&ls101" |
5845ac12 PK |
188 | - name: "buildman NXP AArch64 LS102x" |
189 | env: | |
190 | - BUILDMAN="freescale&aarch64&ls102" | |
aa132612 | 191 | - name: "buildman NXP AArch64 LS104x" |
818408e2 | 192 | env: |
aa132612 TR |
193 | - BUILDMAN="freescale&aarch64&ls104" |
194 | - name: "buildman NXP AArch64 LS108x" | |
195 | env: | |
196 | - BUILDMAN="freescale&aarch64&ls108" | |
197 | - name: "buildman NXP AArch64 LS20xx" | |
198 | env: | |
199 | - BUILDMAN="freescale&aarch64&&ls20" | |
5845ac12 PK |
200 | - name: "buildman NXP AArch64 LX216x" |
201 | env: | |
202 | - BUILDMAN="freescale&aarch64&lx216" | |
aa132612 | 203 | - name: "buildman i.MX6 (non-NXP)" |
a032e0a6 SW |
204 | env: |
205 | - BUILDMAN="mx6 -x freescale,toradex,boundary,engicam" | |
aa132612 | 206 | - name: "buildman i.MX (non-NXP,i.MX6,toradex)" |
a032e0a6 SW |
207 | env: |
208 | - BUILDMAN="mx -x freescale,mx6,toradex" | |
209 | - name: "buildman k2" | |
210 | env: | |
afbdfd82 | 211 | - BUILDMAN="k2" |
a032e0a6 SW |
212 | - name: "buildman samsung socfpga" |
213 | env: | |
dca268a8 | 214 | - BUILDMAN="samsung socfpga" |
818408e2 TR |
215 | - name: "buildman spear" |
216 | env: | |
217 | - BUILDMAN="spear" | |
a032e0a6 SW |
218 | - name: "buildman sun4i" |
219 | env: | |
baade496 | 220 | - BUILDMAN="sun4i" |
a032e0a6 SW |
221 | - name: "buildman sun5i" |
222 | env: | |
baade496 | 223 | - BUILDMAN="sun5i" |
a032e0a6 SW |
224 | - name: "buildman sun6i" |
225 | env: | |
baade496 | 226 | - BUILDMAN="sun6i" |
b5ddd070 | 227 | - name: "buildman sun7i" |
a032e0a6 | 228 | env: |
baade496 | 229 | - BUILDMAN="sun7i" |
a032e0a6 SW |
230 | - name: "buildman sun8i" |
231 | env: | |
8399538c | 232 | - BUILDMAN="sun8i" |
a032e0a6 SW |
233 | - name: "buildman sun9i" |
234 | env: | |
baade496 | 235 | - BUILDMAN="sun9i" |
a032e0a6 SW |
236 | - name: "buildman sun50i" |
237 | env: | |
baade496 | 238 | - BUILDMAN="sun50i" |
a032e0a6 SW |
239 | - name: "buildman catch-all ARM" |
240 | env: | |
72522749 | 241 | - BUILDMAN="arm -x arm11,arm7,arm9,aarch64,at91,freescale,kirkwood,mvebu,siemens,tegra,uniphier,mx,samsung,sunxi,am33xx,omap,pxa,rockchip,toradex,socfpga,k2,xilinx" |
a032e0a6 SW |
242 | - name: "buildman sandbox x86" |
243 | env: | |
050c7569 | 244 | - BUILDMAN="sandbox x86" |
0533fb8b | 245 | TOOLCHAIN="i386" |
b684d403 | 246 | - name: "buildman kirkwood" |
a032e0a6 | 247 | env: |
b684d403 | 248 | - BUILDMAN="kirkwood" |
a032e0a6 SW |
249 | - name: "buildman mvebu" |
250 | env: | |
0bf1bc44 | 251 | - BUILDMAN="mvebu" |
a032e0a6 SW |
252 | - name: "buildman PXA (non-toradex)" |
253 | env: | |
bc3eed96 | 254 | - BUILDMAN="pxa -x toradex" |
a032e0a6 SW |
255 | - name: "buildman m68k" |
256 | env: | |
050c7569 RM |
257 | - BUILDMAN="m68k" |
258 | TOOLCHAIN="m68k" | |
a032e0a6 SW |
259 | - name: "buildman microblaze" |
260 | env: | |
0d3aaa35 | 261 | - BUILDMAN="microblaze" |
76761e7f | 262 | TOOLCHAIN="microblaze" |
a032e0a6 SW |
263 | - name: "buildman mips" |
264 | env: | |
050c7569 RM |
265 | - BUILDMAN="mips" |
266 | TOOLCHAIN="mips" | |
a032e0a6 SW |
267 | - name: "buildman non-Freescale PowerPC" |
268 | env: | |
269 | - BUILDMAN="powerpc -x freescale" | |
4c58d273 | 270 | TOOLCHAIN="powerpc" |
a032e0a6 SW |
271 | - name: "buildman mpc85xx&freescale (excluding many)" |
272 | env: | |
dca268a8 | 273 | - BUILDMAN="mpc85xx&freescale -x t208xrdb -x t4qds -x t102* -x p1_p2_rdb_pc -x p1010rdb -x corenet_ds -x b4860qds -x bsc91*" |
4c58d273 | 274 | TOOLCHAIN="powerpc" |
a032e0a6 SW |
275 | - name: "buildman t208xrdb corenet_ds" |
276 | env: | |
dca268a8 | 277 | - BUILDMAN="t208xrdb corenet_ds" |
4c58d273 | 278 | TOOLCHAIN="powerpc" |
a032e0a6 SW |
279 | - name: "buildman Freescale PowerPC" |
280 | env: | |
dca268a8 | 281 | - BUILDMAN="t4qds b4860qds mpc83xx&freescale mpc86xx&freescale" |
4c58d273 | 282 | TOOLCHAIN="powerpc" |
a032e0a6 SW |
283 | - name: "buildman t102*" |
284 | env: | |
9464dd56 | 285 | - BUILDMAN="t102*" |
4c58d273 | 286 | TOOLCHAIN="powerpc" |
a032e0a6 SW |
287 | - name: "buildman p1_p2_rdb_pc" |
288 | env: | |
afdf09ac | 289 | - BUILDMAN="p1_p2_rdb_pc" |
4c58d273 | 290 | TOOLCHAIN="powerpc" |
a032e0a6 SW |
291 | - name: "buildman p1010rdb bsc91" |
292 | env: | |
dca268a8 | 293 | - BUILDMAN="p1010rdb bsc91" |
4c58d273 | 294 | TOOLCHAIN="powerpc" |
a032e0a6 SW |
295 | - name: "buildman siemens" |
296 | env: | |
050c7569 | 297 | - BUILDMAN="siemens" |
a032e0a6 SW |
298 | - name: "buildman tegra" |
299 | env: | |
300 | - BUILDMAN="tegra -x toradex" | |
301 | - name: "buildman am33xx (no siemens)" | |
302 | env: | |
303 | - BUILDMAN="am33xx -x siemens" | |
304 | - name: "buildman omap" | |
305 | env: | |
dca268a8 | 306 | - BUILDMAN="omap" |
a032e0a6 SW |
307 | - name: "buildman uniphier" |
308 | env: | |
5eba31c3 | 309 | - BUILDMAN="uniphier" |
a032e0a6 SW |
310 | - name: "buildman catch-all AArch64" |
311 | env: | |
818408e2 | 312 | - BUILDMAN="aarch64 -x tegra,ls1,ls2,mvebu,uniphier,sunxi,samsung,rockchip,xilinx" |
a032e0a6 SW |
313 | - name: "buildman rockchip" |
314 | env: | |
dbd5df89 | 315 | - BUILDMAN="rockchip" |
a032e0a6 SW |
316 | - name: "buildman sh" |
317 | env: | |
318 | - BUILDMAN="sh -x arm" | |
4c58d273 | 319 | TOOLCHAIN="sh" |
a032e0a6 SW |
320 | - name: "buildman Xilinx (ARM)" |
321 | env: | |
322 | - BUILDMAN="xilinx -x microblaze" | |
323 | - name: "buildman xtensa" | |
324 | env: | |
76761e7f | 325 | - BUILDMAN="xtensa" |
b6f3a12e | 326 | TOOLCHAIN="xtensa-dc233c-elf" |
a032e0a6 SW |
327 | - name: "buildman riscv" |
328 | env: | |
b6896fcb RC |
329 | - BUILDMAN="riscv" |
330 | TOOLCHAIN="riscv" | |
f715ed45 RC |
331 | - name: "buildman nds32" |
332 | env: | |
333 | - BUILDMAN="nds32" | |
334 | TOOLCHAIN="nds32" | |
c7cb334d MR |
335 | |
336 | # QA jobs for code analytics | |
337 | # static code analysis with cppcheck (we can add --enable=all later) | |
a032e0a6 | 338 | - name: "cppcheck" |
d7882210 | 339 | script: |
c85b52e4 | 340 | - cppcheck --force --quiet --inline-suppr . |
c7cb334d | 341 | # search for TODO within source tree |
a032e0a6 | 342 | - name: "grep TODO" |
d7882210 | 343 | script: |
c85b52e4 | 344 | - grep -r TODO . |
c7cb334d | 345 | # search for FIXME within source tree |
a032e0a6 | 346 | - name: "grep FIXME HACK" |
d7882210 | 347 | script: |
c85b52e4 | 348 | - grep -r FIXME . |
c7cb334d | 349 | # search for HACK within source tree and ignore HACKKIT board |
c7cb334d MR |
350 | script: |
351 | - grep -r HACK . | grep -v HACKKIT | |
352 | # some statistics about the code base | |
a032e0a6 | 353 | - name: "sloccount" |
d7882210 | 354 | script: |
c85b52e4 | 355 | - sloccount . |
ee168783 TR |
356 | # ensure all configs have MAINTAINERS entries |
357 | - name: "Check for configs without MAINTAINERS entry" | |
358 | script: | |
359 | - if [ `./tools/genboardscfg.py -f 2>&1 | wc -l` -ne 0 ]; then exit 1; fi | |
80870e2a OS |
360 | # Ensure host tools build |
361 | - name: "Build tools-only" | |
362 | script: | |
363 | - make tools-only_config tools-only -j$(nproc) | |
8304f053 | 364 | |
07bf2122 | 365 | # test/py |
a032e0a6 SW |
366 | - name: "test/py sandbox" |
367 | env: | |
8304f053 SW |
368 | - TEST_PY_BD="sandbox" |
369 | BUILDMAN="^sandbox$" | |
0533fb8b | 370 | TOOLCHAIN="i386" |
4030f166 TR |
371 | - name: "test/py sandbox with clang" |
372 | env: | |
373 | - TEST_PY_BD="sandbox" | |
374 | BUILDMAN="^sandbox$" | |
e9500f49 | 375 | OVERRIDE="clang-7" |
a032e0a6 SW |
376 | - name: "test/py sandbox_spl" |
377 | env: | |
40c8d26a TR |
378 | - TEST_PY_BD="sandbox_spl" |
379 | TEST_PY_TEST_SPEC="test_ofplatdata" | |
380 | BUILDMAN="^sandbox$" | |
0533fb8b | 381 | TOOLCHAIN="i386" |
f2d07788 | 382 | TEST_PY_TOOLS="yes" |
a032e0a6 SW |
383 | - name: "test/py sandbox_flattree" |
384 | env: | |
40c8d26a TR |
385 | - TEST_PY_BD="sandbox_flattree" |
386 | BUILDMAN="^sandbox_flattree$" | |
0533fb8b | 387 | TOOLCHAIN="i386" |
998dc83a JS |
388 | - name: "test/py evb-ast2500" |
389 | env: | |
390 | - TEST_PY_BD="evb-ast2500" | |
391 | TEST_PY_ID="--id qemu" | |
392 | QEMU_TARGET="arm-softmmu" | |
51085bdb | 393 | QEMU_VERSION="506179e42112be77bfd071f050b15762d3b2cd43" |
998dc83a | 394 | BUILDMAN="^evb-ast2500$" |
a032e0a6 SW |
395 | - name: "test/py vexpress_ca15_tc2" |
396 | env: | |
8304f053 SW |
397 | - TEST_PY_BD="vexpress_ca15_tc2" |
398 | TEST_PY_ID="--id qemu" | |
3c643fb0 | 399 | QEMU_TARGET="arm-softmmu" |
facdc5fb | 400 | QEMU_VERSION="v3.0.0" |
8304f053 | 401 | BUILDMAN="^vexpress_ca15_tc2$" |
a032e0a6 SW |
402 | - name: "test/py vexpress_ca9x4" |
403 | env: | |
8304f053 SW |
404 | - TEST_PY_BD="vexpress_ca9x4" |
405 | TEST_PY_ID="--id qemu" | |
3c643fb0 | 406 | QEMU_TARGET="arm-softmmu" |
8304f053 | 407 | BUILDMAN="^vexpress_ca9x4$" |
a032e0a6 SW |
408 | - name: "test/py integratorcp_cm926ejs" |
409 | env: | |
8304f053 | 410 | - TEST_PY_BD="integratorcp_cm926ejs" |
78992845 | 411 | TEST_PY_TEST_SPEC="not sleep" |
8304f053 | 412 | TEST_PY_ID="--id qemu" |
3c643fb0 | 413 | QEMU_TARGET="arm-softmmu" |
8304f053 | 414 | BUILDMAN="^integratorcp_cm926ejs$" |
a032e0a6 SW |
415 | - name: "test/py qemu_arm" |
416 | env: | |
7b09dffc TT |
417 | - TEST_PY_BD="qemu_arm" |
418 | TEST_PY_TEST_SPEC="not sleep" | |
419 | QEMU_TARGET="arm-softmmu" | |
420 | BUILDMAN="^qemu_arm$" | |
a032e0a6 SW |
421 | - name: "test/py qemu_arm64" |
422 | env: | |
a5bee507 TT |
423 | - TEST_PY_BD="qemu_arm64" |
424 | TEST_PY_TEST_SPEC="not sleep" | |
425 | QEMU_TARGET="aarch64-softmmu" | |
426 | BUILDMAN="^qemu_arm64$" | |
a032e0a6 SW |
427 | - name: "test/py qemu_mips" |
428 | env: | |
8304f053 SW |
429 | - TEST_PY_BD="qemu_mips" |
430 | TEST_PY_TEST_SPEC="not sleep" | |
3c643fb0 | 431 | QEMU_TARGET="mips-softmmu" |
8304f053 SW |
432 | BUILDMAN="^qemu_mips$" |
433 | TOOLCHAIN="mips" | |
a032e0a6 SW |
434 | - name: "test/py qemu_mipsel" |
435 | env: | |
8304f053 SW |
436 | - TEST_PY_BD="qemu_mipsel" |
437 | TEST_PY_TEST_SPEC="not sleep" | |
3c643fb0 | 438 | QEMU_TARGET="mipsel-softmmu" |
8304f053 SW |
439 | BUILDMAN="^qemu_mipsel$" |
440 | TOOLCHAIN="mips" | |
a032e0a6 SW |
441 | - name: "test/py qemu_mips64" |
442 | env: | |
8304f053 SW |
443 | - TEST_PY_BD="qemu_mips64" |
444 | TEST_PY_TEST_SPEC="not sleep" | |
3c643fb0 | 445 | QEMU_TARGET="mips64-softmmu" |
8304f053 SW |
446 | BUILDMAN="^qemu_mips64$" |
447 | TOOLCHAIN="mips" | |
a032e0a6 SW |
448 | - name: "test/py qemu_mips64el" |
449 | env: | |
8304f053 SW |
450 | - TEST_PY_BD="qemu_mips64el" |
451 | TEST_PY_TEST_SPEC="not sleep" | |
3c643fb0 | 452 | QEMU_TARGET="mips64el-softmmu" |
8304f053 SW |
453 | BUILDMAN="^qemu_mips64el$" |
454 | TOOLCHAIN="mips" | |
a032e0a6 SW |
455 | - name: "test/py qemu-ppce500" |
456 | env: | |
8304f053 SW |
457 | - TEST_PY_BD="qemu-ppce500" |
458 | TEST_PY_TEST_SPEC="not sleep" | |
3c643fb0 | 459 | QEMU_TARGET="ppc-softmmu" |
8304f053 | 460 | BUILDMAN="^qemu-ppce500$" |
4c58d273 | 461 | TOOLCHAIN="powerpc" |
22c7b7d6 HS |
462 | - name: "test/py qemu-riscv64" |
463 | env: | |
464 | - TEST_PY_BD="qemu-riscv64" | |
465 | TEST_PY_TEST_SPEC="not sleep" | |
466 | QEMU_TARGET="riscv64-softmmu" | |
467 | BUILDMAN="^qemu-riscv64$" | |
468 | TOOLCHAIN="riscv" | |
a032e0a6 SW |
469 | - name: "test/py qemu-x86" |
470 | env: | |
8304f053 SW |
471 | - TEST_PY_BD="qemu-x86" |
472 | TEST_PY_TEST_SPEC="not sleep" | |
3c643fb0 | 473 | QEMU_TARGET="i386-softmmu" |
8304f053 | 474 | BUILDMAN="^qemu-x86$" |
0533fb8b | 475 | TOOLCHAIN="i386" |
8304f053 | 476 | BUILD_ROM="yes" |
3fdfca7a BM |
477 | - name: "test/py qemu-x86_64" |
478 | env: | |
479 | - TEST_PY_BD="qemu-x86_64" | |
480 | TEST_PY_TEST_SPEC="not sleep" | |
481 | QEMU_TARGET="x86_64-softmmu" | |
482 | BUILDMAN="^qemu-x86_64$" | |
483 | TOOLCHAIN="i386" | |
484 | BUILD_ROM="yes" | |
a032e0a6 SW |
485 | - name: "test/py zynq_zc702" |
486 | env: | |
41122d37 MS |
487 | - TEST_PY_BD="zynq_zc702" |
488 | TEST_PY_TEST_SPEC="not sleep" | |
489 | QEMU_TARGET="arm-softmmu" | |
490 | TEST_PY_ID="--id qemu" | |
491 | BUILDMAN="^zynq_zc702$" | |
d9eaae3b MS |
492 | - name: "test/py xilinx_versal_virt" |
493 | env: | |
494 | - TEST_PY_BD="xilinx_versal_virt" | |
495 | TEST_PY_TEST_SPEC="not sleep" | |
496 | QEMU_TARGET="aarch64-softmmu" | |
497 | TEST_PY_ID="--id qemu" | |
498 | BUILDMAN="^xilinx_versal_virt$" | |
a032e0a6 SW |
499 | - name: "test/py xtfpga" |
500 | env: | |
4d690094 MF |
501 | - TEST_PY_BD="xtfpga" |
502 | TEST_PY_TEST_SPEC="not sleep" | |
503 | QEMU_TARGET="xtensa-softmmu" | |
504 | TEST_PY_ID="--id qemu" | |
505 | BUILDMAN="^xtfpga$" | |
506 | TOOLCHAIN="xtensa-dc233c-elf" | |
c7cb334d | 507 | |
c7cb334d | 508 | # TODO make it perfect ;-r |