mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-27 06:04:40 +08:00
azure/gitlab/travis: Add qemu-riscv32 testing
This adds the qemu-riscv32_defconfig test configuration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
9eed8cdd3d
commit
a379d330a9
@ -216,6 +216,10 @@ jobs:
|
||||
TEST_PY_BD: "qemu-ppce500"
|
||||
TEST_PY_TEST_SPEC: "not sleep"
|
||||
BUILDMAN: "^qemu-ppce500$"
|
||||
qemu_riscv32:
|
||||
TEST_PY_BD: "qemu-riscv32"
|
||||
TEST_PY_TEST_SPEC: "not sleep"
|
||||
BUILDMAN: "^qemu-riscv32$"
|
||||
qemu_riscv64:
|
||||
TEST_PY_BD: "qemu-riscv64"
|
||||
TEST_PY_TEST_SPEC: "not sleep"
|
||||
@ -264,6 +268,7 @@ jobs:
|
||||
grub-mkimage --prefix=\"\" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd
|
||||
grub-mkimage --prefix=\"\" -o ~/grub_x64.efi -O x86_64-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd
|
||||
cp /opt/grub/grubriscv64.efi ~/grub_riscv64.efi
|
||||
cp /opt/grub/grubriscv32.efi ~/grub_riscv32.efi
|
||||
cp /opt/grub/grubaa64.efi ~/grub_arm64.efi
|
||||
cp /opt/grub/grubarm.efi ~/grub_arm.efi
|
||||
# the below corresponds to .gitlab-ci.yml "script"
|
||||
|
@ -21,6 +21,7 @@ stages:
|
||||
- grub-mkimage --prefix="" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd
|
||||
- grub-mkimage --prefix="" -o ~/grub_x64.efi -O x86_64-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd
|
||||
- cp /opt/grub/grubriscv64.efi ~/grub_riscv64.efi
|
||||
- cp /opt/grub/grubriscv32.efi ~/grub_riscv32.efi
|
||||
- cp /opt/grub/grubaa64.efi ~/grub_arm64.efi
|
||||
- cp /opt/grub/grubarm.efi ~/grub_arm.efi
|
||||
|
||||
@ -297,6 +298,14 @@ qemu-ppce500 test.py:
|
||||
BUILDMAN: "^qemu-ppce500$"
|
||||
<<: *buildman_and_testpy_dfn
|
||||
|
||||
qemu-riscv32 test.py:
|
||||
tags: [ 'all' ]
|
||||
variables:
|
||||
TEST_PY_BD: "qemu-riscv32"
|
||||
TEST_PY_TEST_SPEC: "not sleep"
|
||||
BUILDMAN: "^qemu-riscv32$"
|
||||
<<: *buildman_and_testpy_dfn
|
||||
|
||||
qemu-riscv64 test.py:
|
||||
tags: [ 'all' ]
|
||||
variables:
|
||||
|
@ -572,6 +572,13 @@ matrix:
|
||||
QEMU_TARGET="ppc-softmmu"
|
||||
BUILDMAN="^qemu-ppce500$"
|
||||
TOOLCHAIN="powerpc"
|
||||
- name: "test/py qemu-riscv32"
|
||||
env:
|
||||
- TEST_PY_BD="qemu-riscv32"
|
||||
TEST_PY_TEST_SPEC="not sleep"
|
||||
QEMU_TARGET="riscv32-softmmu"
|
||||
BUILDMAN="^qemu-riscv32$"
|
||||
TOOLCHAIN="riscv"
|
||||
- name: "test/py qemu-riscv64"
|
||||
env:
|
||||
- TEST_PY_BD="qemu-riscv64"
|
||||
|
Loading…
Reference in New Issue
Block a user