blob: 82e3b9152375e6b77687d745f565db410c4fe04c [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Meier, Rogerc7cb3342014-11-19 15:26:18 +01002# Copyright Roger Meier <r.meier@siemens.com>
Meier, Rogerc7cb3342014-11-19 15:26:18 +01003
4# build U-Boot on Travis CI - https://travis-ci.org/
5
Tom Rini2bb76f32016-10-20 11:03:19 -04006sudo: required
Tom Rini8b13e9b2019-10-08 08:39:26 -04007dist: bionic
Stephen Warrene4c1b4d2016-02-03 10:41:34 -07008
Meier, Rogerc7cb3342014-11-19 15:26:18 +01009language: c
10
Roger Meier050c7562016-01-25 20:22:41 +010011addons:
12 apt:
Tom Rini4030f162018-10-07 14:20:30 -040013 sources:
14 - ubuntu-toolchain-r-test
Tom Rini8b13e9b2019-10-08 08:39:26 -040015 - llvm-toolchain-bionic-7
Roger Meier050c7562016-01-25 20:22:41 +010016 packages:
Bin Meng091b48e2020-03-28 07:25:25 -070017 - autopoint
Roger Meier050c7562016-01-25 20:22:41 +010018 - cppcheck
19 - sloccount
20 - sparse
21 - bc
22 - build-essential
Simon Glass96d0cd42020-02-03 07:36:12 -070023 - libsdl2-dev
Stephen Warren07bf2122016-02-08 18:23:35 -070024 - python
Tom Rini085b8972019-10-24 11:59:27 -040025 - python-pyelftools
Tom Rinif36f15b2020-02-24 15:10:36 -050026 - python3-sphinx
Tom Rini085b8972019-10-24 11:59:27 -040027 - python3-virtualenv
28 - python3-pip
Tom Rinif2b0c002017-01-23 17:40:22 -050029 - swig
30 - libpython-dev
Tom Rinicd402e02016-10-20 11:08:26 -040031 - iasl
Alexander Graf0e4e38a2016-11-18 13:18:00 +010032 - grub-efi-ia32-bin
Bin Meng66a3a9c2018-10-13 20:52:12 -070033 - grub-efi-amd64-bin
Alexander Graf0e4e38a2016-11-18 13:18:00 +010034 - rpm2cpio
35 - wget
Tom Rini36dd5f12017-09-23 13:00:57 -040036 - device-tree-compiler
Tom Rini706f0772018-03-14 14:02:49 -040037 - lzop
Simon Glass83d73c22018-09-14 04:57:26 -060038 - liblz4-tool
Simon Glass4997a7e2019-07-08 13:18:52 -060039 - lzma-alone
Tom Rini4030f162018-10-07 14:20:30 -040040 - libisl15
41 - clang-7
Marek Vasutaa2e9c92019-03-14 01:01:24 +010042 - srecord
Heinrich Schuchardtbb9a76e2020-02-21 18:24:00 +010043 - graphviz
AKASHI Takahiro5bf1ea62020-04-14 11:51:53 +090044 - coreutils
45 - util-linux
46 - dosfstools
47 - gdisk
48 - mount
49 - mtools
50 - openssl
51 - sbsigntool
Daniel Schwierzeck4c58d272018-05-10 07:15:53 -040052
Meier, Rogerc7cb3342014-11-19 15:26:18 +010053install:
Tom Rini5ac58612016-10-20 11:26:40 -040054 # Clone uboot-test-hooks
55 - git clone --depth=1 git://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks
56 - ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname`
57 - ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname`
Meier, Rogerc7cb3342014-11-19 15:26:18 +010058 # prepare buildman environment
Stephen Warren43a68e42016-10-26 11:05:31 -060059 - echo -e "[toolchain]\nroot = /usr" > ~/.buildman
Alexey Brodkinf0d964f2018-12-03 17:09:13 +030060 - echo -e "arc = /tmp/arc_gnu_2018.09_prebuilt_uclibc_le_archs_linux_install" >> ~/.buildman
Tom Rini14d39c92019-11-05 10:44:16 -050061 - echo -e "\n[toolchain-alias]\nsh = sh2" >> ~/.buildman
62 - echo -e "x86 = i386" >> ~/.buildman;
63 - echo -e "riscv = riscv64" >> ~/.buildman;
Meier, Rogerc7cb3342014-11-19 15:26:18 +010064 - cat ~/.buildman
Tom Rini8b13e9b2019-10-08 08:39:26 -040065 - grub-mkimage --prefix="" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd
66 - grub-mkimage --prefix="" -o ~/grub_x64.efi -O x86_64-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd
Tom Rini8b13e9b2019-10-08 08:39:26 -040067 - wget http://mirrors.kernel.org/ubuntu/pool/main/m/mpfr4/libmpfr4_3.1.4-1_amd64.deb && sudo dpkg -i libmpfr4_3.1.4-1_amd64.deb && rm libmpfr4_3.1.4-1_amd64.deb
AKASHI Takahiro5bf1ea62020-04-14 11:51:53 +090068 - wget http://mirrors.kernel.org/ubuntu/pool/universe/e/efitools/efitools_1.8.1-0ubuntu2_amd64.deb && sudo dpkg -i efitools_1.8.1-0ubuntu2_amd64.deb && rm efitools_1.8.1-0ubuntu2_amd64.deb
Meier, Rogerc7cb3342014-11-19 15:26:18 +010069
70env:
71 global:
AKASHI Takahiro5bf1ea62020-04-14 11:51:53 +090072 - PATH=/tmp/qemu-install/bin:/tmp/uboot-test-hooks/bin:/sbin:/usr/bin:/bin:/usr/local/bin
Alexander Grafe0196602016-11-17 18:31:04 +010073 - PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci
Meier, Rogerc7cb3342014-11-19 15:26:18 +010074 - BUILD_DIR=build
Meier, Rogerc7cb3342014-11-19 15:26:18 +010075 - HOSTCC="cc"
76 - HOSTCXX="c++"
Tom Rini88366b92020-01-11 08:07:03 -050077 - QEMU_VERSION="v4.2.0"
Meier, Rogerc7cb3342014-11-19 15:26:18 +010078
79before_script:
Roger Meier050c7562016-01-25 20:22:41 +010080 # install toolchains based on TOOLCHAIN} variable
Roger Meier050c7562016-01-25 20:22:41 +010081 - if [[ "${TOOLCHAIN}" == *m68k* ]]; then ./tools/buildman/buildman --fetch-arch m68k ; fi
Tom Rinicd402e02016-10-20 11:08:26 -040082 - if [[ "${TOOLCHAIN}" == *microblaze* ]]; then ./tools/buildman/buildman --fetch-arch microblaze ; fi
Roger Meier050c7562016-01-25 20:22:41 +010083 - if [[ "${TOOLCHAIN}" == *mips* ]]; then ./tools/buildman/buildman --fetch-arch mips ; fi
Daniel Schwierzeck4c58d272018-05-10 07:15:53 -040084 - if [[ "${TOOLCHAIN}" == *sh* ]]; then ./tools/buildman/buildman --fetch-arch sh2 ; fi
Bin Meng0533fb82018-10-08 16:53:54 -070085 - if [[ "${TOOLCHAIN}" == *i386* ]]; then
86 ./tools/buildman/buildman --fetch-arch i386;
Stephen Warren2ded4bf2016-10-26 11:05:33 -060087 fi
Alexey Brodkin80e4bbf2017-04-21 13:35:43 +030088 - if [[ "${TOOLCHAIN}" == arc ]]; then
Alexey Brodkinf0d964f2018-12-03 17:09:13 +030089 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 &&
90 tar -C /tmp -xf arc_gnu_2018.09_prebuilt_uclibc_le_archs_linux_install.tar.gz;
Alexey Brodkin80e4bbf2017-04-21 13:35:43 +030091 fi
Rick Chenf715ed42019-01-14 13:36:15 +080092 - if [[ "${TOOLCHAIN}" == "nds32" ]]; then
93 wget https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/20180521/nds32le-linux-glibc-v3-upstream.tar.gz &&
94 tar -C /tmp -xf nds32le-linux-glibc-v3-upstream.tar.gz &&
95 echo -e "\n[toolchain-prefix]\nnds32 = /tmp/nds32le-linux-glibc-v3-upstream/bin/nds32le-linux-" >> ~/.buildman;
96 fi
Max Filippovb6f3a122018-02-07 15:30:01 -080097 - if [[ "${TOOLCHAIN}" == *xtensa* ]]; then
98 wget https://github.com/foss-xtensa/toolchain/releases/download/2018.02/x86_64-2018.02-${TOOLCHAIN}.tar.gz &&
99 tar -C /tmp -xf x86_64-2018.02-${TOOLCHAIN}.tar.gz &&
100 echo -e "\n[toolchain-prefix]\nxtensa = /tmp/2018.02/${TOOLCHAIN}/bin/${TOOLCHAIN}-" >> ~/.buildman;
101 fi
Tom Rini83995382017-04-14 19:47:51 -0400102 # If TOOLCHAIN is unset, we're on some flavour of ARM.
103 - if [[ "${TOOLCHAIN}" == "" ]]; then
Daniel Schwierzeck4c58d272018-05-10 07:15:53 -0400104 ./tools/buildman/buildman --fetch-arch arm &&
105 ./tools/buildman/buildman --fetch-arch aarch64;
Tom Rini83995382017-04-14 19:47:51 -0400106 fi
Daniel Schwierzeck4c58d272018-05-10 07:15:53 -0400107 - if [[ "${TOOLCHAIN}" == "powerpc" ]]; then ./tools/buildman/buildman --fetch-arch powerpc; fi
Rick Chenb6896fc2018-01-12 14:57:09 +0800108 - if [[ "${TOOLCHAIN}" == "riscv" ]]; then
Bin Meng9eed8cd2020-03-28 07:25:26 -0700109 ./tools/buildman/buildman --fetch-arch riscv32 &&
Bin Mengb5135e42018-08-30 06:17:06 -0700110 ./tools/buildman/buildman --fetch-arch riscv64;
Rick Chenb6896fc2018-01-12 14:57:09 +0800111 fi
Tom Rini3c643fb2016-12-07 11:20:40 -0500112 - if [[ "${QEMU_TARGET}" != "" ]]; then
113 git clone git://git.qemu.org/qemu.git /tmp/qemu;
114 pushd /tmp/qemu;
115 git submodule update --init dtc &&
Michal Simek984a1fe2019-01-16 15:18:43 +0100116 git checkout ${QEMU_VERSION} &&
Tom Rini3c643fb2016-12-07 11:20:40 -0500117 ./configure --prefix=/tmp/qemu-install --target-list=${QEMU_TARGET} &&
118 make -j4 all install;
119 popd;
120 fi
Meier, Rogerc7cb3342014-11-19 15:26:18 +0100121
Bin Meng091b48e2020-03-28 07:25:25 -0700122 # Build GRUB UEFI targets
123 - if [[ "${QEMU_TARGET}" == "arm-softmmu" ]]; then
124 git clone git://git.savannah.gnu.org/grub.git /tmp/grub &&
125 pushd /tmp/grub &&
126 git checkout grub-2.04 &&
127 ./bootstrap &&
128 ./configure --target=arm --with-platform=efi
129 CC=gcc
Bin Mengddd4d992020-04-06 06:07:00 -0700130 TARGET_CC=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc
131 TARGET_OBJCOPY=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-objcopy
132 TARGET_STRIP=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-strip
133 TARGET_NM=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-nm
134 TARGET_RANLIB=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-ranlib &&
Bin Meng091b48e2020-03-28 07:25:25 -0700135 make -j4 &&
136 ./grub-mkimage -O arm-efi -o ~/grub_arm.efi --prefix= -d
137 grub-core cat chain configfile echo efinet ext2 fat halt help linux
138 lsefisystab loadenv lvm minicmd normal part_msdos part_gpt reboot
139 search search_fs_file search_fs_uuid search_label serial sleep test
140 true &&
141 popd;
142 fi
143 - if [[ "${QEMU_TARGET}" == "aarch64-softmmu" ]]; then
144 git clone git://git.savannah.gnu.org/grub.git /tmp/grub &&
145 pushd /tmp/grub &&
146 git checkout grub-2.04 &&
147 ./bootstrap &&
148 ./configure --target=aarch64 --with-platform=efi
149 CC=gcc
Bin Mengddd4d992020-04-06 06:07:00 -0700150 TARGET_CC=~/.buildman-toolchains/gcc-9.2.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc
151 TARGET_OBJCOPY=~/.buildman-toolchains/gcc-9.2.0-nolibc/aarch64-linux/bin/aarch64-linux-objcopy
152 TARGET_STRIP=~/.buildman-toolchains/gcc-9.2.0-nolibc/aarch64-linux/bin/aarch64-linux-strip
153 TARGET_NM=~/.buildman-toolchains/gcc-9.2.0-nolibc/aarch64-linux/bin/aarch64-linux-nm
154 TARGET_RANLIB=~/.buildman-toolchains/gcc-9.2.0-nolibc/aarch64-linux/bin/aarch64-linux-ranlib &&
Bin Meng091b48e2020-03-28 07:25:25 -0700155 make -j4 &&
156 ./grub-mkimage -O arm64-efi -o ~/grub_arm64.efi --prefix= -d
157 grub-core cat chain configfile echo efinet ext2 fat halt help linux
158 lsefisystab loadenv lvm minicmd normal part_msdos part_gpt reboot
159 search search_fs_file search_fs_uuid search_label serial sleep test
160 true &&
161 popd;
162 fi
Bin Meng9eed8cd2020-03-28 07:25:26 -0700163 - if [[ "${QEMU_TARGET}" == "riscv32-softmmu" ]]; then
164 git clone git://git.savannah.gnu.org/grub.git /tmp/grub &&
165 pushd /tmp/grub &&
166 git checkout grub-2.04 &&
167 ./bootstrap &&
168 ./configure --target=riscv32 --with-platform=efi
169 CC=gcc
Bin Mengddd4d992020-04-06 06:07:00 -0700170 TARGET_CC=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv32-linux/bin/riscv32-linux-gcc
171 TARGET_OBJCOPY=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv32-linux/bin/riscv32-linux-objcopy
172 TARGET_STRIP=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv32-linux/bin/riscv32-linux-strip
173 TARGET_NM=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv32-linux/bin/riscv32-linux-nm
174 TARGET_RANLIB=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv32-linux/bin/riscv32-linux-ranlib &&
Bin Meng9eed8cd2020-03-28 07:25:26 -0700175 make -j4 &&
176 ./grub-mkimage -O riscv32-efi -o ~/grub_riscv32.efi --prefix= -d
177 grub-core cat chain configfile echo efinet ext2 fat halt help linux
178 lsefisystab loadenv lvm minicmd normal part_msdos part_gpt reboot
179 search search_fs_file search_fs_uuid search_label serial sleep test
180 true &&
181 popd;
182 fi
183 - if [[ "${QEMU_TARGET}" == "riscv64-softmmu" ]]; then
184 git clone git://git.savannah.gnu.org/grub.git /tmp/grub &&
185 pushd /tmp/grub &&
186 git checkout grub-2.04 &&
187 ./bootstrap &&
188 ./configure --target=riscv64 --with-platform=efi
189 CC=gcc
Bin Mengddd4d992020-04-06 06:07:00 -0700190 TARGET_CC=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv64-linux/bin/riscv64-linux-gcc
191 TARGET_OBJCOPY=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv64-linux/bin/riscv64-linux-objcopy
192 TARGET_STRIP=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv64-linux/bin/riscv64-linux-strip
193 TARGET_NM=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv64-linux/bin/riscv64-linux-nm
194 TARGET_RANLIB=~/.buildman-toolchains/gcc-9.2.0-nolibc/riscv64-linux/bin/riscv64-linux-ranlib &&
Bin Meng9eed8cd2020-03-28 07:25:26 -0700195 make -j4 &&
196 ./grub-mkimage -O riscv64-efi -o ~/grub_riscv64.efi --prefix= -d
197 grub-core cat chain configfile echo efinet ext2 fat halt help linux
198 lsefisystab loadenv lvm minicmd normal part_msdos part_gpt reboot
199 search search_fs_file search_fs_uuid search_label serial sleep test
200 true &&
201 popd;
202 fi
Bin Meng49fb28a2020-03-28 07:25:29 -0700203 - if [[ "${TEST_PY_BD}" == "qemu-riscv32_spl" ]]; then
204 wget -O - https://github.com/riscv/opensbi/releases/download/v0.6/opensbi-0.6-rv32-bin.tar.xz | tar -C /tmp -xJ;
205 export OPENSBI=/tmp/opensbi-0.6-rv32-bin/platform/qemu/virt/firmware/fw_dynamic.bin;
206 fi
207 - if [[ "${TEST_PY_BD}" == "qemu-riscv64_spl" ]]; then
208 wget -O - https://github.com/riscv/opensbi/releases/download/v0.6/opensbi-0.6-rv64-bin.tar.xz | tar -C /tmp -xJ;
209 export OPENSBI=/tmp/opensbi-0.6-rv64-bin/platform/qemu/virt/firmware/fw_dynamic.bin;
210 fi
Bin Meng091b48e2020-03-28 07:25:25 -0700211
Meier, Rogerc7cb3342014-11-19 15:26:18 +0100212script:
Stephen Warren8304f052016-10-26 11:05:36 -0600213 # Comments must be outside the command strings below, or the Travis parser
214 # will get confused.
215 #
Simon Glassdd5c9542020-03-18 09:42:57 -0600216 # If we've been asked to use clang only do one configuration.
217 #
Simon Glasse7c05b12020-03-18 09:42:49 -0600218 # Build a selection of boards if TEST_PY_BD is empty
Simon Glass573605d2020-03-18 09:42:52 -0600219 - if [[ "${BUILDMAN}" != "" ]]; then
Simon Glass08140db2020-04-19 17:02:32 -0600220 ret=0
221 tools/buildman/buildman -P -E -W ${BUILDMAN} ${OVERRIDE} || ret=$?;
Simon Glassdd5c9542020-03-18 09:42:57 -0600222 if [[ $ret -ne 0 ]]; then
Simon Glassb52f5a12020-03-18 09:42:53 -0600223 tools/buildman/buildman -seP ${BUILDMAN};
Stephen Warren0c5145f2016-10-26 11:05:32 -0600224 exit $ret;
225 fi;
Roger Meier050c7562016-01-25 20:22:41 +0100226 fi
Simon Glasse7c05b12020-03-18 09:42:49 -0600227 # Build just the one board needed for testing, if TEST_PY_BD is non-empty
Simon Glass4080d092020-03-18 09:42:56 -0600228 # Note: "${var:+"-k $var"}" expands to "" if $var is empty, "-k $var" if not
Simon Glassf08c8ef2020-03-18 09:42:48 -0600229 - if [[ "${TEST_PY_BD}" != "" ]]; then
Simon Glasse7c05b12020-03-18 09:42:49 -0600230 export UBOOT_TRAVIS_BUILD_DIR=`cd .. && pwd`/${TEST_PY_BD};
Simon Glassf08c8ef2020-03-18 09:42:48 -0600231 cp ~/grub_x86.efi $UBOOT_TRAVIS_BUILD_DIR/;
232 cp ~/grub_x64.efi $UBOOT_TRAVIS_BUILD_DIR/;
233 if [[ -e ~/grub_arm.efi ]]; then
234 cp ~/grub_arm.efi $UBOOT_TRAVIS_BUILD_DIR/;
235 fi;
236 if [[ -e ~/grub_arm64.efi ]]; then
237 cp ~/grub_arm64.efi $UBOOT_TRAVIS_BUILD_DIR/;
238 fi;
239 if [[ -e ~/grub_riscv32.efi ]]; then
240 cp ~/grub_riscv32.efi $UBOOT_TRAVIS_BUILD_DIR/;
241 fi;
242 if [[ -e ~/grub_riscv64.efi ]]; then
243 cp ~/grub_riscv64.efi $UBOOT_TRAVIS_BUILD_DIR/;
244 fi;
Simon Glass7ec12552020-03-18 09:43:00 -0600245 tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w -E -W -e
246 --board ${TEST_PY_BD} ${OVERRIDE} || exit;
Tom Rini085b8972019-10-24 11:59:27 -0400247 virtualenv -p /usr/bin/python3 /tmp/venv;
248 . /tmp/venv/bin/activate;
249 pip install -r test/py/requirements.txt;
250 ./test/py/test.py --bd ${TEST_PY_BD} ${TEST_PY_ID}
Simon Glass4080d092020-03-18 09:42:56 -0600251 ${TEST_PY_TEST_SPEC:+"-k ${TEST_PY_TEST_SPEC}"}
Simon Glasscec1e852020-03-18 09:42:59 -0600252 --build-dir "$UBOOT_TRAVIS_BUILD_DIR" || exit;
Tom Rini26a426a2020-02-11 12:41:14 -0500253 if [[ -n "${TEST_PY_TOOLS}" ]]; then
254 export PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt";
255 export PATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc:${PATH}";
256 ./tools/binman/binman --toolpath ${UBOOT_TRAVIS_BUILD_DIR}/tools test &&
257 ./tools/patman/patman --test &&
258 ./tools/buildman/buildman -t &&
Tom Rini72618332020-03-11 18:11:15 -0400259 ./tools/dtoc/dtoc -t &&
260 make testconfig;
Tom Rini26a426a2020-02-11 12:41:14 -0500261 fi;
Stephen Warren8304f052016-10-26 11:05:36 -0600262 fi
Meier, Rogerc7cb3342014-11-19 15:26:18 +0100263
264matrix:
265 include:
266 # we need to build by vendor due to 50min time limit for builds
267 # each env setting here is a dedicated build
Stephen Warrena032e0a2018-07-30 10:19:43 -0600268 - name: "buildman arc"
269 env:
Alexey Brodkin80e4bbf2017-04-21 13:35:43 +0300270 - BUILDMAN="arc"
271 TOOLCHAIN="arc"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600272 - name: "buildman arm11 arm7 arm920t arm946es"
273 env:
Tom Rinidca268a2018-05-10 07:15:54 -0400274 - BUILDMAN="arm11 arm7 arm920t arm946es"
Eugen Hristev72522742019-04-01 11:04:03 +0000275 - name: "buildman arm926ejs (non-NXP,siemens,at91,kirkwood,spear)"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600276 env:
Tom Rinibaade492016-11-05 19:34:49 -0400277 - JOB="arm926ejs"
Eugen Hristev72522742019-04-01 11:04:03 +0000278 BUILDMAN="arm926ejs -x freescale,siemens,at91,kirkwood,spear,omap"
279 - name: "buildman at91 (non arm v7)"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600280 env:
Eugen Hristev72522742019-04-01 11:04:03 +0000281 - BUILDMAN="at91 -x armv7"
282 - name: "buildman at91 (non arm926ejs)"
283 env:
284 - BUILDMAN="at91 -x arm926ejs"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600285 - name: "buildman boundary engicam toradex"
286 env:
287 - BUILDMAN="boundary engicam toradex"
Tom Rini7a779ed2019-10-13 11:21:56 -0400288 - name: "buildman ARM bcm"
Tom Rini50aeb3a2019-10-09 11:01:06 -0400289 env:
Tom Rini7a779ed2019-10-13 11:21:56 -0400290 - BUILDMAN="bcm -x mips"
Heiko Schocheraf771622019-11-22 11:17:29 +0100291 - name: "buildman NXP ARM32 (catch-all)"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600292 env:
Heiko Schocheraf771622019-11-22 11:17:29 +0100293 - BUILDMAN="freescale -x powerpc,m68k,aarch64,ls101,ls102,ls104,ls108,ls20,lx216"
294 - name: "buildman NXP LS101x"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600295 env:
Heiko Schocheraf771622019-11-22 11:17:29 +0100296 - BUILDMAN="freescale&ls101"
297 - name: "buildman NXP LS102x"
Prabhakar Kushwaha5845ac12019-06-19 17:47:12 +0530298 env:
Heiko Schocheraf771622019-11-22 11:17:29 +0100299 - BUILDMAN="freescale&ls102"
300 - name: "buildman NXP LS104x"
Tom Rini818408e2018-10-23 11:58:44 -0400301 env:
Heiko Schocheraf771622019-11-22 11:17:29 +0100302 - BUILDMAN="freescale&ls104"
303 - name: "buildman NXP LS108x"
Tom Riniaa132612019-01-16 07:19:26 -0500304 env:
Heiko Schocheraf771622019-11-22 11:17:29 +0100305 - BUILDMAN="freescale&ls108"
306 - name: "buildman NXP LS20xx"
Tom Riniaa132612019-01-16 07:19:26 -0500307 env:
Heiko Schocheraf771622019-11-22 11:17:29 +0100308 - BUILDMAN="freescale&ls20"
309 - name: "buildman NXP LX216x"
Prabhakar Kushwaha5845ac12019-06-19 17:47:12 +0530310 env:
Heiko Schocheraf771622019-11-22 11:17:29 +0100311 - BUILDMAN="freescale&lx216"
Tom Rini984c0052019-10-15 07:27:13 -0400312 - name: "buildman i.MX6 tqc"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600313 env:
Tom Rini984c0052019-10-15 07:27:13 -0400314 - BUILDMAN="mx6&tqc"
315 - name: "buildman i.MX6 (catch-all)"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600316 env:
Tom Rini984c0052019-10-15 07:27:13 -0400317 - BUILDMAN="mx6 -x boundary,engicam,freescale,technexion,toradex,tqc"
318 - name: "buildman i.MX (non-i.MX6 catch-all)"
319 env:
320 - BUILDMAN="mx -x freescale,mx6,toradex,technexion"
Tom Rini548aefa2019-10-09 11:02:21 -0400321 - name: "buildman keystone 2/3"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600322 env:
Tom Rini548aefa2019-10-09 11:02:21 -0400323 - BUILDMAN="k2 k3"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600324 - name: "buildman samsung socfpga"
325 env:
Tom Rinidca268a2018-05-10 07:15:54 -0400326 - BUILDMAN="samsung socfpga"
Tom Rini818408e2018-10-23 11:58:44 -0400327 - name: "buildman spear"
328 env:
329 - BUILDMAN="spear"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600330 - name: "buildman sun4i"
331 env:
Tom Rinibaade492016-11-05 19:34:49 -0400332 - BUILDMAN="sun4i"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600333 - name: "buildman sun5i"
334 env:
Tom Rinibaade492016-11-05 19:34:49 -0400335 - BUILDMAN="sun5i"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600336 - name: "buildman sun6i"
337 env:
Tom Rinibaade492016-11-05 19:34:49 -0400338 - BUILDMAN="sun6i"
Tuomas Tynkkynenb5ddd072018-09-08 00:53:18 +0300339 - name: "buildman sun7i"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600340 env:
Tom Rinibaade492016-11-05 19:34:49 -0400341 - BUILDMAN="sun7i"
Tom Rini95b22152019-10-15 07:27:14 -0400342 - name: "buildman 64bit sun8i"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600343 env:
Heiko Schocher56d35f22019-11-21 06:50:12 +0100344 - BUILDMAN="sun8i&aarch64 -x orangepi"
Tom Rini95b22152019-10-15 07:27:14 -0400345 - name: "buildman 32bit sun8i"
346 env:
Heiko Schocher56d35f22019-11-21 06:50:12 +0100347 - BUILDMAN="sun8i&armv7 -x orangepi"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600348 - name: "buildman sun9i"
349 env:
Tom Rinibaade492016-11-05 19:34:49 -0400350 - BUILDMAN="sun9i"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600351 - name: "buildman sun50i"
352 env:
Heiko Schocher56d35f22019-11-21 06:50:12 +0100353 - BUILDMAN="sun50i -x orangepi"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600354 - name: "buildman catch-all ARM"
355 env:
Tom Rini2d4cd122020-03-09 13:01:57 -0400356 - BUILDMAN="arm -x arm11,arm7,arm9,aarch64,at91,bcm,freescale,kirkwood,mvebu,siemens,tegra,uniphier,mx,samsung,sunxi,am33xx,omap,rk,toradex,socfpga,k2,k3,zynq"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600357 - name: "buildman sandbox x86"
358 env:
Roger Meier050c7562016-01-25 20:22:41 +0100359 - BUILDMAN="sandbox x86"
Bin Meng0533fb82018-10-08 16:53:54 -0700360 TOOLCHAIN="i386"
Tom Rini984c0052019-10-15 07:27:13 -0400361 - name: "buildman technexion"
362 env:
363 - BUILDMAN="technexion"
Stefan Roeseb684d402019-04-25 11:53:18 +0200364 - name: "buildman kirkwood"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600365 env:
Stefan Roeseb684d402019-04-25 11:53:18 +0200366 - BUILDMAN="kirkwood"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600367 - name: "buildman mvebu"
368 env:
Stefan Roese0bf1bc42016-12-01 13:52:08 +0100369 - BUILDMAN="mvebu"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600370 - name: "buildman m68k"
371 env:
Roger Meier050c7562016-01-25 20:22:41 +0100372 - BUILDMAN="m68k"
373 TOOLCHAIN="m68k"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600374 - name: "buildman microblaze"
375 env:
Tom Rini0d3aaa32017-10-07 15:54:18 -0400376 - BUILDMAN="microblaze"
Tom Rini76761e72016-10-20 11:23:15 -0400377 TOOLCHAIN="microblaze"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600378 - name: "buildman mips"
379 env:
Roger Meier050c7562016-01-25 20:22:41 +0100380 - BUILDMAN="mips"
381 TOOLCHAIN="mips"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600382 - name: "buildman non-Freescale PowerPC"
383 env:
384 - BUILDMAN="powerpc -x freescale"
Daniel Schwierzeck4c58d272018-05-10 07:15:53 -0400385 TOOLCHAIN="powerpc"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600386 - name: "buildman mpc85xx&freescale (excluding many)"
387 env:
Tom Rinidca268a2018-05-10 07:15:54 -0400388 - BUILDMAN="mpc85xx&freescale -x t208xrdb -x t4qds -x t102* -x p1_p2_rdb_pc -x p1010rdb -x corenet_ds -x b4860qds -x bsc91*"
Daniel Schwierzeck4c58d272018-05-10 07:15:53 -0400389 TOOLCHAIN="powerpc"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600390 - name: "buildman t208xrdb corenet_ds"
391 env:
Tom Rinidca268a2018-05-10 07:15:54 -0400392 - BUILDMAN="t208xrdb corenet_ds"
Daniel Schwierzeck4c58d272018-05-10 07:15:53 -0400393 TOOLCHAIN="powerpc"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600394 - name: "buildman Freescale PowerPC"
395 env:
Tom Rinidca268a2018-05-10 07:15:54 -0400396 - BUILDMAN="t4qds b4860qds mpc83xx&freescale mpc86xx&freescale"
Daniel Schwierzeck4c58d272018-05-10 07:15:53 -0400397 TOOLCHAIN="powerpc"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600398 - name: "buildman t102*"
399 env:
Philipp Tomsich9464dd52017-12-20 11:06:31 +0100400 - BUILDMAN="t102*"
Daniel Schwierzeck4c58d272018-05-10 07:15:53 -0400401 TOOLCHAIN="powerpc"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600402 - name: "buildman p1_p2_rdb_pc"
403 env:
Tom Riniafdf09a2017-01-21 17:58:08 -0500404 - BUILDMAN="p1_p2_rdb_pc"
Daniel Schwierzeck4c58d272018-05-10 07:15:53 -0400405 TOOLCHAIN="powerpc"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600406 - name: "buildman p1010rdb bsc91"
407 env:
Tom Rinidca268a2018-05-10 07:15:54 -0400408 - BUILDMAN="p1010rdb bsc91"
Daniel Schwierzeck4c58d272018-05-10 07:15:53 -0400409 TOOLCHAIN="powerpc"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600410 - name: "buildman siemens"
411 env:
Roger Meier050c7562016-01-25 20:22:41 +0100412 - BUILDMAN="siemens"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600413 - name: "buildman tegra"
414 env:
415 - BUILDMAN="tegra -x toradex"
416 - name: "buildman am33xx (no siemens)"
417 env:
418 - BUILDMAN="am33xx -x siemens"
419 - name: "buildman omap"
420 env:
Tom Rinidca268a2018-05-10 07:15:54 -0400421 - BUILDMAN="omap"
Heiko Schocher56d35f22019-11-21 06:50:12 +0100422 - name: "buildman orangepi"
423 env:
424 - BUILDMAN="orangepi"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600425 - name: "buildman uniphier"
426 env:
Tom Rini5eba31c2016-10-29 17:11:17 -0400427 - BUILDMAN="uniphier"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600428 - name: "buildman catch-all AArch64"
429 env:
Tom Rini2d4cd122020-03-09 13:01:57 -0400430 - BUILDMAN="aarch64 -x bcm,k3,tegra,ls1,ls2,lx216,mvebu,uniphier,sunxi,samsung,socfpga,rk,versal,zynq"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600431 - name: "buildman rockchip"
432 env:
Tom Rini2d4cd122020-03-09 13:01:57 -0400433 - BUILDMAN="rk -x orangepi"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600434 - name: "buildman sh"
435 env:
436 - BUILDMAN="sh -x arm"
Daniel Schwierzeck4c58d272018-05-10 07:15:53 -0400437 TOOLCHAIN="sh"
Tom Rini568356d2019-10-14 18:12:59 -0400438 - name: "buildman Zynq* (ARMv7)"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600439 env:
Tom Rini568356d2019-10-14 18:12:59 -0400440 - BUILDMAN="zynq&armv7"
441 - name: "buildman ZynqMP and Versal"
442 env:
443 - BUILDMAN="versal|zynqmp&aarch64"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600444 - name: "buildman xtensa"
445 env:
Tom Rini76761e72016-10-20 11:23:15 -0400446 - BUILDMAN="xtensa"
Max Filippovb6f3a122018-02-07 15:30:01 -0800447 TOOLCHAIN="xtensa-dc233c-elf"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600448 - name: "buildman riscv"
449 env:
Rick Chenb6896fc2018-01-12 14:57:09 +0800450 - BUILDMAN="riscv"
451 TOOLCHAIN="riscv"
Rick Chenf715ed42019-01-14 13:36:15 +0800452 - name: "buildman nds32"
453 env:
454 - BUILDMAN="nds32"
455 TOOLCHAIN="nds32"
Meier, Rogerc7cb3342014-11-19 15:26:18 +0100456
457 # QA jobs for code analytics
458 # static code analysis with cppcheck (we can add --enable=all later)
Stephen Warrena032e0a2018-07-30 10:19:43 -0600459 - name: "cppcheck"
Stephen Warrend7882212016-10-24 16:41:48 -0600460 script:
Simon Glass4ee7f522020-04-05 14:35:43 -0600461 - cppcheck -j$(nproc) --force --quiet --inline-suppr .
Heinrich Schuchardtbb9a76e2020-02-21 18:24:00 +0100462 # build HTML documentation
463 - name: "htmldocs"
464 script:
465 - make htmldocs
Meier, Rogerc7cb3342014-11-19 15:26:18 +0100466 # search for TODO within source tree
Stephen Warrena032e0a2018-07-30 10:19:43 -0600467 - name: "grep TODO"
Stephen Warrend7882212016-10-24 16:41:48 -0600468 script:
Tom Rinic85b52e2016-10-20 11:24:52 -0400469 - grep -r TODO .
Meier, Rogerc7cb3342014-11-19 15:26:18 +0100470 # search for FIXME within source tree
Stephen Warrena032e0a2018-07-30 10:19:43 -0600471 - name: "grep FIXME HACK"
Stephen Warrend7882212016-10-24 16:41:48 -0600472 script:
Tom Rinic85b52e2016-10-20 11:24:52 -0400473 - grep -r FIXME .
Meier, Rogerc7cb3342014-11-19 15:26:18 +0100474 # search for HACK within source tree and ignore HACKKIT board
Meier, Rogerc7cb3342014-11-19 15:26:18 +0100475 script:
476 - grep -r HACK . | grep -v HACKKIT
477 # some statistics about the code base
Stephen Warrena032e0a2018-07-30 10:19:43 -0600478 - name: "sloccount"
Stephen Warrend7882212016-10-24 16:41:48 -0600479 script:
Tom Rinic85b52e2016-10-20 11:24:52 -0400480 - sloccount .
Tom Riniee168782018-12-06 16:39:43 -0500481 # ensure all configs have MAINTAINERS entries
482 - name: "Check for configs without MAINTAINERS entry"
483 script:
484 - if [ `./tools/genboardscfg.py -f 2>&1 | wc -l` -ne 0 ]; then exit 1; fi
Otavio Salvador80870e22018-12-07 19:00:41 -0500485 # Ensure host tools build
486 - name: "Build tools-only"
487 script:
488 - make tools-only_config tools-only -j$(nproc)
Pierre-Jean Texier1f3910d2019-08-26 13:06:18 +0200489 # Ensure env tools build
490 - name: "Build envtools"
491 script:
492 - make tools-only_config envtools -j$(nproc)
Stephen Warren8304f052016-10-26 11:05:36 -0600493
Stephen Warren07bf2122016-02-08 18:23:35 -0700494 # test/py
Stephen Warrena032e0a2018-07-30 10:19:43 -0600495 - name: "test/py sandbox"
496 env:
Stephen Warren8304f052016-10-26 11:05:36 -0600497 - TEST_PY_BD="sandbox"
Bin Meng0533fb82018-10-08 16:53:54 -0700498 TOOLCHAIN="i386"
Tom Rini4030f162018-10-07 14:20:30 -0400499 - name: "test/py sandbox with clang"
500 env:
501 - TEST_PY_BD="sandbox"
Tom Rini626b0382019-10-26 13:48:41 -0400502 OVERRIDE="-O clang-7"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600503 - name: "test/py sandbox_spl"
504 env:
Tom Rini40c8d262017-08-07 15:24:50 -0400505 - TEST_PY_BD="sandbox_spl"
Simon Glasse28e9db2020-03-18 09:42:58 -0600506 TEST_PY_TEST_SPEC="test_ofplatdata or test_handoff"
Bin Meng0533fb82018-10-08 16:53:54 -0700507 TOOLCHAIN="i386"
Simon Glassf2d07782017-11-26 20:26:00 -0700508 TEST_PY_TOOLS="yes"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600509 - name: "test/py sandbox_flattree"
510 env:
Tom Rini40c8d262017-08-07 15:24:50 -0400511 - TEST_PY_BD="sandbox_flattree"
Bin Meng0533fb82018-10-08 16:53:54 -0700512 TOOLCHAIN="i386"
Joel Stanley998dc832019-07-04 11:05:17 +0930513 - name: "test/py evb-ast2500"
514 env:
515 - TEST_PY_BD="evb-ast2500"
516 TEST_PY_ID="--id qemu"
517 QEMU_TARGET="arm-softmmu"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600518 - name: "test/py vexpress_ca15_tc2"
519 env:
Stephen Warren8304f052016-10-26 11:05:36 -0600520 - TEST_PY_BD="vexpress_ca15_tc2"
521 TEST_PY_ID="--id qemu"
Tom Rini3c643fb2016-12-07 11:20:40 -0500522 QEMU_TARGET="arm-softmmu"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600523 - name: "test/py vexpress_ca9x4"
524 env:
Stephen Warren8304f052016-10-26 11:05:36 -0600525 - TEST_PY_BD="vexpress_ca9x4"
526 TEST_PY_ID="--id qemu"
Tom Rini3c643fb2016-12-07 11:20:40 -0500527 QEMU_TARGET="arm-softmmu"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600528 - name: "test/py integratorcp_cm926ejs"
529 env:
Stephen Warren8304f052016-10-26 11:05:36 -0600530 - TEST_PY_BD="integratorcp_cm926ejs"
Alexander Graf78992842016-11-17 18:31:07 +0100531 TEST_PY_TEST_SPEC="not sleep"
Stephen Warren8304f052016-10-26 11:05:36 -0600532 TEST_PY_ID="--id qemu"
Tom Rini3c643fb2016-12-07 11:20:40 -0500533 QEMU_TARGET="arm-softmmu"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600534 - name: "test/py qemu_arm"
535 env:
Tuomas Tynkkynen7b09dff2017-09-19 23:18:08 +0300536 - TEST_PY_BD="qemu_arm"
537 TEST_PY_TEST_SPEC="not sleep"
538 QEMU_TARGET="arm-softmmu"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600539 - name: "test/py qemu_arm64"
540 env:
Tuomas Tynkkynena5bee502018-01-11 16:11:26 +0200541 - TEST_PY_BD="qemu_arm64"
542 TEST_PY_TEST_SPEC="not sleep"
543 QEMU_TARGET="aarch64-softmmu"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600544 - name: "test/py qemu_mips"
545 env:
Stephen Warren8304f052016-10-26 11:05:36 -0600546 - TEST_PY_BD="qemu_mips"
547 TEST_PY_TEST_SPEC="not sleep"
Tom Rini3c643fb2016-12-07 11:20:40 -0500548 QEMU_TARGET="mips-softmmu"
Stephen Warren8304f052016-10-26 11:05:36 -0600549 TOOLCHAIN="mips"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600550 - name: "test/py qemu_mipsel"
551 env:
Stephen Warren8304f052016-10-26 11:05:36 -0600552 - TEST_PY_BD="qemu_mipsel"
553 TEST_PY_TEST_SPEC="not sleep"
Tom Rini3c643fb2016-12-07 11:20:40 -0500554 QEMU_TARGET="mipsel-softmmu"
Stephen Warren8304f052016-10-26 11:05:36 -0600555 TOOLCHAIN="mips"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600556 - name: "test/py qemu_mips64"
557 env:
Stephen Warren8304f052016-10-26 11:05:36 -0600558 - TEST_PY_BD="qemu_mips64"
559 TEST_PY_TEST_SPEC="not sleep"
Tom Rini3c643fb2016-12-07 11:20:40 -0500560 QEMU_TARGET="mips64-softmmu"
Stephen Warren8304f052016-10-26 11:05:36 -0600561 TOOLCHAIN="mips"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600562 - name: "test/py qemu_mips64el"
563 env:
Stephen Warren8304f052016-10-26 11:05:36 -0600564 - TEST_PY_BD="qemu_mips64el"
565 TEST_PY_TEST_SPEC="not sleep"
Tom Rini3c643fb2016-12-07 11:20:40 -0500566 QEMU_TARGET="mips64el-softmmu"
Stephen Warren8304f052016-10-26 11:05:36 -0600567 TOOLCHAIN="mips"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600568 - name: "test/py qemu-ppce500"
569 env:
Stephen Warren8304f052016-10-26 11:05:36 -0600570 - TEST_PY_BD="qemu-ppce500"
571 TEST_PY_TEST_SPEC="not sleep"
Tom Rini3c643fb2016-12-07 11:20:40 -0500572 QEMU_TARGET="ppc-softmmu"
Daniel Schwierzeck4c58d272018-05-10 07:15:53 -0400573 TOOLCHAIN="powerpc"
Bin Menga379d332020-03-28 07:25:27 -0700574 - name: "test/py qemu-riscv32"
575 env:
576 - TEST_PY_BD="qemu-riscv32"
577 TEST_PY_TEST_SPEC="not sleep"
578 QEMU_TARGET="riscv32-softmmu"
Bin Menga379d332020-03-28 07:25:27 -0700579 TOOLCHAIN="riscv"
Heinrich Schuchardt22c7b7d2019-07-18 06:33:58 +0200580 - name: "test/py qemu-riscv64"
581 env:
582 - TEST_PY_BD="qemu-riscv64"
583 TEST_PY_TEST_SPEC="not sleep"
584 QEMU_TARGET="riscv64-softmmu"
Heinrich Schuchardt22c7b7d2019-07-18 06:33:58 +0200585 TOOLCHAIN="riscv"
Bin Meng49fb28a2020-03-28 07:25:29 -0700586 - name: "test/py qemu-riscv32_spl"
587 env:
588 - TEST_PY_BD="qemu-riscv32_spl"
589 TEST_PY_TEST_SPEC="not sleep"
590 QEMU_TARGET="riscv32-softmmu"
Bin Meng49fb28a2020-03-28 07:25:29 -0700591 TOOLCHAIN="riscv"
592 - name: "test/py qemu-riscv64_spl"
593 env:
594 - TEST_PY_BD="qemu-riscv64_spl"
595 TEST_PY_TEST_SPEC="not sleep"
596 QEMU_TARGET="riscv64-softmmu"
Bin Meng49fb28a2020-03-28 07:25:29 -0700597 TOOLCHAIN="riscv"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600598 - name: "test/py qemu-x86"
599 env:
Stephen Warren8304f052016-10-26 11:05:36 -0600600 - TEST_PY_BD="qemu-x86"
601 TEST_PY_TEST_SPEC="not sleep"
Tom Rini3c643fb2016-12-07 11:20:40 -0500602 QEMU_TARGET="i386-softmmu"
Bin Meng0533fb82018-10-08 16:53:54 -0700603 TOOLCHAIN="i386"
Stephen Warren8304f052016-10-26 11:05:36 -0600604 BUILD_ROM="yes"
Bin Meng3fdfca72018-10-13 20:52:14 -0700605 - name: "test/py qemu-x86_64"
606 env:
607 - TEST_PY_BD="qemu-x86_64"
608 TEST_PY_TEST_SPEC="not sleep"
609 QEMU_TARGET="x86_64-softmmu"
Bin Meng3fdfca72018-10-13 20:52:14 -0700610 TOOLCHAIN="i386"
611 BUILD_ROM="yes"
Michal Simekf7c6ee72020-02-13 15:03:29 +0100612 - name: "test/py xilinx_zynq_virt"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600613 env:
Michal Simekf7c6ee72020-02-13 15:03:29 +0100614 - TEST_PY_BD="xilinx_zynq_virt"
Michal Simek41122d32016-12-14 09:47:23 +0100615 TEST_PY_TEST_SPEC="not sleep"
616 QEMU_TARGET="arm-softmmu"
617 TEST_PY_ID="--id qemu"
Michal Simekd9eaae32018-12-20 08:40:25 +0100618 - name: "test/py xilinx_versal_virt"
619 env:
620 - TEST_PY_BD="xilinx_versal_virt"
621 TEST_PY_TEST_SPEC="not sleep"
622 QEMU_TARGET="aarch64-softmmu"
623 TEST_PY_ID="--id qemu"
Stephen Warrena032e0a2018-07-30 10:19:43 -0600624 - name: "test/py xtfpga"
625 env:
Max Filippov4d690092018-02-07 15:30:03 -0800626 - TEST_PY_BD="xtfpga"
627 TEST_PY_TEST_SPEC="not sleep"
628 QEMU_TARGET="xtensa-softmmu"
629 TEST_PY_ID="--id qemu"
Max Filippov4d690092018-02-07 15:30:03 -0800630 TOOLCHAIN="xtensa-dc233c-elf"
Meier, Rogerc7cb3342014-11-19 15:26:18 +0100631
Meier, Rogerc7cb3342014-11-19 15:26:18 +0100632# TODO make it perfect ;-r