Lines Matching +full:build +full:- +full:some +full:- +full:softmmu
1 # SPDX-License-Identifier: GPL-2.0+
4 # build U-Boot on Travis CI - https://travis-ci.org/
14 - ubuntu-toolchain-r-test
15 - llvm-toolchain-trusty-7
17 - cppcheck
18 - sloccount
19 - sparse
20 - bc
21 - build-essential
22 - libsdl1.2-dev
23 - python
24 - python-virtualenv
25 - swig
26 - libpython-dev
27 - iasl
28 - grub-efi-ia32-bin
29 - grub-efi-amd64-bin
30 - rpm2cpio
31 - wget
32 - device-tree-compiler
33 - lzop
34 - liblz4-tool
35 - libisl15
36 - clang-7
39 # Clone uboot-test-hooks
40 - git clone --depth=1 git://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks
41 - ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname`
42 - ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname`
44 - echo -e "[toolchain]\nroot = /usr" > ~/.buildman
45 - echo -e "arc = /tmp/arc_gnu_2018.09_prebuilt_uclibc_le_archs_linux_install" >> ~/.buildman
46 - echo -e "\n[toolchain-alias]\nsh = sh2\n" >> ~/.buildman
47 - cat ~/.buildman
48 - virtualenv /tmp/venv
49 - . /tmp/venv/bin/activate
50 - pip install pytest==2.8.7
51 - pip install python-subunit
52 …- grub-mkimage -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp …
53 …- grub-mkimage -o ~/grub_x64.efi -O x86_64-efi normal echo lsefimmap lsefi lsefisystab efinet tft…
54 - mkdir ~/grub2-arm
55 …- ( cd ~/grub2-arm; wget -O - http://download.opensuse.org/ports/armv7hl/distribution/leap/42.2/re…
56 - mkdir ~/grub2-arm64
57 …- ( cd ~/grub2-arm64; wget -O - http://download.opensuse.org/ports/aarch64/distribution/leap/42.2/…
61 - PATH=/tmp/qemu-install/bin:/tmp/uboot-test-hooks/bin:/usr/bin:/bin
62 - PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci
63 - BUILD_DIR=build
64 - HOSTCC="cc"
65 - HOSTCXX="c++"
66 - QEMU_VERSION="v3.1.0"
70 - if [[ "${TOOLCHAIN}" == *m68k* ]]; then ./tools/buildman/buildman --fetch-arch m68k ; fi
71 …- if [[ "${TOOLCHAIN}" == *microblaze* ]]; then ./tools/buildman/buildman --fetch-arch microblaze …
72 - if [[ "${TOOLCHAIN}" == *mips* ]]; then ./tools/buildman/buildman --fetch-arch mips ; fi
73 - if [[ "${TOOLCHAIN}" == *sh* ]]; then ./tools/buildman/buildman --fetch-arch sh2 ; fi
74 - if [[ "${TOOLCHAIN}" == *i386* ]]; then
75 ./tools/buildman/buildman --fetch-arch i386;
76 echo -e "\n[toolchain-alias]\nx86 = i386" >> ~/.buildman;
78 - if [[ "${TOOLCHAIN}" == arc ]]; then
79 …wget https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2018.…
80 tar -C /tmp -xf arc_gnu_2018.09_prebuilt_uclibc_le_archs_linux_install.tar.gz;
82 - if [[ "${TOOLCHAIN}" == "nds32" ]]; then
83 …wget https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/20180521/nds32le-lin…
84 tar -C /tmp -xf nds32le-linux-glibc-v3-upstream.tar.gz &&
85 …echo -e "\n[toolchain-prefix]\nnds32 = /tmp/nds32le-linux-glibc-v3-upstream/bin/nds32le-linux-" >>…
87 - if [[ "${TOOLCHAIN}" == *xtensa* ]]; then
88 …wget https://github.com/foss-xtensa/toolchain/releases/download/2018.02/x86_64-2018.02-${TOOLCHAIN…
89 tar -C /tmp -xf x86_64-2018.02-${TOOLCHAIN}.tar.gz &&
90 …echo -e "\n[toolchain-prefix]\nxtensa = /tmp/2018.02/${TOOLCHAIN}/bin/${TOOLCHAIN}-" >> ~/.buildma…
92 # If TOOLCHAIN is unset, we're on some flavour of ARM.
93 - if [[ "${TOOLCHAIN}" == "" ]]; then
94 ./tools/buildman/buildman --fetch-arch arm &&
95 ./tools/buildman/buildman --fetch-arch aarch64;
97 - if [[ "${TOOLCHAIN}" == "powerpc" ]]; then ./tools/buildman/buildman --fetch-arch powerpc; fi
98 - if [[ "${TOOLCHAIN}" == "riscv" ]]; then
99 ./tools/buildman/buildman --fetch-arch riscv64;
100 echo -e "\n[toolchain-alias]\nriscv = riscv64" >> ~/.buildman;
102 - if [[ "${QEMU_TARGET}" != "" ]]; then
105 git submodule update --init dtc &&
107 ./configure --prefix=/tmp/qemu-install --target-list=${QEMU_TARGET} &&
108 make -j4 all install;
118 - if [[ "${BUILDMAN}" != "" ]]; then
120 tools/buildman/buildman -P -E ${BUILDMAN} ${OVERRIDE}|| ret=$?;
121 if [[ $ret -ne 0 && $ret -ne 129 ]]; then
122 tools/buildman/buildman -sdeP ${BUILDMAN};
126 # "not a_test_which_does_not_exist" is a dummy -k parameter which will
128 # "-k something" even when $TEST_PY_TEST_SPEC doesnt need a custom
130 - export UBOOT_TRAVIS_BUILD_DIR=`cd .. && pwd`/.bm-work/${TEST_PY_BD};
133 cp ~/grub2-arm/usr/lib/grub2/arm-efi/grub.efi $UBOOT_TRAVIS_BUILD_DIR/grub_arm.efi;
134 cp ~/grub2-arm64/usr/lib/grub2/arm64-efi/grub.efi $UBOOT_TRAVIS_BUILD_DIR/grub_arm64.efi;
136 ./test/py/test.py --bd ${TEST_PY_BD} ${TEST_PY_ID}
137 -k "${TEST_PY_TEST_SPEC:-not a_test_which_does_not_exist}"
138 --build-dir "$UBOOT_TRAVIS_BUILD_DIR";
140 if [[ $ret -ne 0 ]]; then
144 if [[ -n "${TEST_PY_TOOLS}" ]]; then
147 ./tools/binman/binman -t &&
148 ./tools/patman/patman --test &&
149 ./tools/buildman/buildman -t &&
152 ./tools/dtoc/dtoc -t;
157 # we need to build by vendor due to 50min time limit for builds
158 # each env setting here is a dedicated build
159 - name: "buildman arc"
161 - BUILDMAN="arc"
163 - name: "buildman arm11 arm7 arm920t arm946es"
165 - BUILDMAN="arm11 arm7 arm920t arm946es"
166 - name: "buildman arm926ejs (non-NXP,siemens,at91,kirkwood,spear)"
168 - JOB="arm926ejs"
169 BUILDMAN="arm926ejs -x freescale,siemens,at91,kirkwood,spear,omap"
170 - name: "buildman at91 (non arm v7)"
172 - BUILDMAN="at91 -x armv7"
173 - name: "buildman at91 (non arm926ejs)"
175 - BUILDMAN="at91 -x arm926ejs"
176 - name: "buildman boundary engicam toradex"
178 - BUILDMAN="boundary engicam toradex"
179 - name: "buildman NXP ARM32"
181 - BUILDMAN="freescale -x powerpc,m68k,aarch64"
182 - name: "buildman NXP AArch64 LS101x"
184 - BUILDMAN="freescale&aarch64&ls101"
185 - name: "buildman NXP AArch64 LS104x"
187 - BUILDMAN="freescale&aarch64&ls104"
188 - name: "buildman NXP AArch64 LS108x"
190 - BUILDMAN="freescale&aarch64&ls108"
191 - name: "buildman NXP AArch64 LS20xx"
193 - BUILDMAN="freescale&aarch64&&ls20"
194 - name: "buildman i.MX6 (non-NXP)"
196 - BUILDMAN="mx6 -x freescale,toradex,boundary,engicam"
197 - name: "buildman i.MX (non-NXP,i.MX6,toradex)"
199 - BUILDMAN="mx -x freescale,mx6,toradex"
200 - name: "buildman k2"
202 - BUILDMAN="k2"
203 - name: "buildman samsung socfpga"
205 - BUILDMAN="samsung socfpga"
206 - name: "buildman spear"
208 - BUILDMAN="spear"
209 - name: "buildman sun4i"
211 - BUILDMAN="sun4i"
212 - name: "buildman sun5i"
214 - BUILDMAN="sun5i"
215 - name: "buildman sun6i"
217 - BUILDMAN="sun6i"
218 - name: "buildman sun7i"
220 - BUILDMAN="sun7i"
221 - name: "buildman sun8i"
223 - BUILDMAN="sun8i"
224 - name: "buildman sun9i"
226 - BUILDMAN="sun9i"
227 - name: "buildman sun50i"
229 - BUILDMAN="sun50i"
230 - name: "buildman catch-all ARM"
232 …- BUILDMAN="arm -x arm11,arm7,arm9,aarch64,at91,freescale,kirkwood,mvebu,siemens,tegra,uniphier,mx…
233 - name: "buildman sandbox x86"
235 - BUILDMAN="sandbox x86"
237 - name: "buildman kirkwood (excluding openrd)"
239 - BUILDMAN="kirkwood -x openrd"
240 - name: "buildman mvebu"
242 - BUILDMAN="mvebu"
243 - name: "buildman PXA (non-toradex)"
245 - BUILDMAN="pxa -x toradex"
246 - name: "buildman m68k"
248 - BUILDMAN="m68k"
250 - name: "buildman microblaze"
252 - BUILDMAN="microblaze"
254 - name: "buildman mips"
256 - BUILDMAN="mips"
258 - name: "buildman non-Freescale PowerPC"
260 - BUILDMAN="powerpc -x freescale"
262 - name: "buildman mpc85xx&freescale (excluding many)"
264 …- BUILDMAN="mpc85xx&freescale -x t208xrdb -x t4qds -x t102* -x p1_p2_rdb_pc -x p1010rdb -x corenet…
266 - name: "buildman t208xrdb corenet_ds"
268 - BUILDMAN="t208xrdb corenet_ds"
270 - name: "buildman Freescale PowerPC"
272 - BUILDMAN="t4qds b4860qds mpc83xx&freescale mpc86xx&freescale"
274 - name: "buildman t102*"
276 - BUILDMAN="t102*"
278 - name: "buildman p1_p2_rdb_pc"
280 - BUILDMAN="p1_p2_rdb_pc"
282 - name: "buildman p1010rdb bsc91"
284 - BUILDMAN="p1010rdb bsc91"
286 - name: "buildman siemens"
288 - BUILDMAN="siemens"
289 - name: "buildman tegra"
291 - BUILDMAN="tegra -x toradex"
292 - name: "buildman am33xx (no siemens)"
294 - BUILDMAN="am33xx -x siemens"
295 - name: "buildman omap"
297 - BUILDMAN="omap"
298 - name: "buildman uniphier"
300 - BUILDMAN="uniphier"
301 - name: "buildman catch-all AArch64"
303 - BUILDMAN="aarch64 -x tegra,ls1,ls2,mvebu,uniphier,sunxi,samsung,rockchip,xilinx"
304 - name: "buildman rockchip"
306 - BUILDMAN="rockchip"
307 - name: "buildman sh"
309 - BUILDMAN="sh -x arm"
311 - name: "buildman Xilinx (ARM)"
313 - BUILDMAN="xilinx -x microblaze"
314 - name: "buildman xtensa"
316 - BUILDMAN="xtensa"
317 TOOLCHAIN="xtensa-dc233c-elf"
318 - name: "buildman riscv"
320 - BUILDMAN="riscv"
322 - name: "buildman nds32"
324 - BUILDMAN="nds32"
328 # static code analysis with cppcheck (we can add --enable=all later)
329 - name: "cppcheck"
331 - cppcheck --force --quiet --inline-suppr .
333 - name: "grep TODO"
335 - grep -r TODO .
337 - name: "grep FIXME HACK"
339 - grep -r FIXME .
342 - grep -r HACK . | grep -v HACKKIT
343 # some statistics about the code base
344 - name: "sloccount"
346 - sloccount .
348 - name: "Check for configs without MAINTAINERS entry"
350 - if [ `./tools/genboardscfg.py -f 2>&1 | wc -l` -ne 0 ]; then exit 1; fi
351 # Ensure host tools build
352 - name: "Build tools-only"
354 - make tools-only_config tools-only -j$(nproc)
357 - name: "test/py sandbox"
359 - TEST_PY_BD="sandbox"
362 - name: "test/py sandbox with clang"
364 - TEST_PY_BD="sandbox"
366 OVERRIDE="clang-7"
367 - name: "test/py sandbox_spl"
369 - TEST_PY_BD="sandbox_spl"
374 - name: "test/py sandbox_flattree"
376 - TEST_PY_BD="sandbox_flattree"
379 - name: "test/py vexpress_ca15_tc2"
381 - TEST_PY_BD="vexpress_ca15_tc2"
382 TEST_PY_ID="--id qemu"
383 QEMU_TARGET="arm-softmmu"
386 - name: "test/py vexpress_ca9x4"
388 - TEST_PY_BD="vexpress_ca9x4"
389 TEST_PY_ID="--id qemu"
390 QEMU_TARGET="arm-softmmu"
392 - name: "test/py integratorcp_cm926ejs"
394 - TEST_PY_BD="integratorcp_cm926ejs"
396 TEST_PY_ID="--id qemu"
397 QEMU_TARGET="arm-softmmu"
399 - name: "test/py qemu_arm"
401 - TEST_PY_BD="qemu_arm"
403 QEMU_TARGET="arm-softmmu"
405 - name: "test/py qemu_arm64"
407 - TEST_PY_BD="qemu_arm64"
409 QEMU_TARGET="aarch64-softmmu"
411 - name: "test/py qemu_mips"
413 - TEST_PY_BD="qemu_mips"
415 QEMU_TARGET="mips-softmmu"
418 - name: "test/py qemu_mipsel"
420 - TEST_PY_BD="qemu_mipsel"
422 QEMU_TARGET="mipsel-softmmu"
425 - name: "test/py qemu_mips64"
427 - TEST_PY_BD="qemu_mips64"
429 QEMU_TARGET="mips64-softmmu"
432 - name: "test/py qemu_mips64el"
434 - TEST_PY_BD="qemu_mips64el"
436 QEMU_TARGET="mips64el-softmmu"
439 - name: "test/py qemu-ppce500"
441 - TEST_PY_BD="qemu-ppce500"
443 QEMU_TARGET="ppc-softmmu"
444 BUILDMAN="^qemu-ppce500$"
446 - name: "test/py qemu-x86"
448 - TEST_PY_BD="qemu-x86"
450 QEMU_TARGET="i386-softmmu"
451 BUILDMAN="^qemu-x86$"
454 - name: "test/py qemu-x86_64"
456 - TEST_PY_BD="qemu-x86_64"
458 QEMU_TARGET="x86_64-softmmu"
459 BUILDMAN="^qemu-x86_64$"
462 - name: "test/py zynq_zc702"
464 - TEST_PY_BD="zynq_zc702"
466 QEMU_TARGET="arm-softmmu"
467 TEST_PY_ID="--id qemu"
469 - name: "test/py xilinx_versal_virt"
471 - TEST_PY_BD="xilinx_versal_virt"
473 QEMU_TARGET="aarch64-softmmu"
474 TEST_PY_ID="--id qemu"
476 - name: "test/py xtfpga"
478 - TEST_PY_BD="xtfpga"
480 QEMU_TARGET="xtensa-softmmu"
481 TEST_PY_ID="--id qemu"
483 TOOLCHAIN="xtensa-dc233c-elf"
485 # TODO make it perfect ;-r