mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-03 10:17:21 +00:00
Merge branch '2020-07-15-ci-updates'
- Make sure GRUB is copied to the right place for CI on GitLab/Azure - Note in our GitHub PR template that you can use this to trigger Azure CI
This commit is contained in:
commit
47b0a49324
3 changed files with 15 additions and 8 deletions
|
@ -294,10 +294,6 @@ jobs:
|
||||||
ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname`
|
ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname`
|
||||||
grub-mkimage --prefix=\"\" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd
|
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
|
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
|
|
||||||
if [[ "${TEST_PY_BD}" == "qemu-riscv32_spl" ]]; then
|
if [[ "${TEST_PY_BD}" == "qemu-riscv32_spl" ]]; then
|
||||||
wget -O - https://github.com/riscv/opensbi/releases/download/v0.6/opensbi-0.6-rv32-bin.tar.xz | tar -C /tmp -xJ;
|
wget -O - https://github.com/riscv/opensbi/releases/download/v0.6/opensbi-0.6-rv32-bin.tar.xz | tar -C /tmp -xJ;
|
||||||
export OPENSBI=/tmp/opensbi-0.6-rv32-bin/platform/qemu/virt/firmware/fw_dynamic.bin;
|
export OPENSBI=/tmp/opensbi-0.6-rv32-bin/platform/qemu/virt/firmware/fw_dynamic.bin;
|
||||||
|
@ -310,6 +306,12 @@ jobs:
|
||||||
cd ${WORK_DIR}
|
cd ${WORK_DIR}
|
||||||
export UBOOT_TRAVIS_BUILD_DIR=/tmp/${TEST_PY_BD};
|
export UBOOT_TRAVIS_BUILD_DIR=/tmp/${TEST_PY_BD};
|
||||||
tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w -E -W -e --board ${TEST_PY_BD} ${OVERRIDE}
|
tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w -E -W -e --board ${TEST_PY_BD} ${OVERRIDE}
|
||||||
|
cp ~/grub_x86.efi ${UBOOT_TRAVIS_BUILD_DIR}/
|
||||||
|
cp ~/grub_x64.efi ${UBOOT_TRAVIS_BUILD_DIR}/
|
||||||
|
cp /opt/grub/grubriscv64.efi ${UBOOT_TRAVIS_BUILD_DIR}/grub_riscv64.efi
|
||||||
|
cp /opt/grub/grubriscv32.efi ${UBOOT_TRAVIS_BUILD_DIR}/grub_riscv32.efi
|
||||||
|
cp /opt/grub/grubaa64.efi ${UBOOT_TRAVIS_BUILD_DIR}/grub_arm64.efi
|
||||||
|
cp /opt/grub/grubarm.efi ${UBOOT_TRAVIS_BUILD_DIR}/grub_arm.efi
|
||||||
virtualenv -p /usr/bin/python3 /tmp/venv
|
virtualenv -p /usr/bin/python3 /tmp/venv
|
||||||
. /tmp/venv/bin/activate
|
. /tmp/venv/bin/activate
|
||||||
pip install -r test/py/requirements.txt
|
pip install -r test/py/requirements.txt
|
||||||
|
|
3
.github/pull_request_template.md
vendored
3
.github/pull_request_template.md
vendored
|
@ -1,3 +1,6 @@
|
||||||
Please do not submit a Pull Request via github. Our project makes use of
|
Please do not submit a Pull Request via github. Our project makes use of
|
||||||
mailing lists for patch submission and review. For more details please
|
mailing lists for patch submission and review. For more details please
|
||||||
see https://www.denx.de/wiki/U-Boot/Patches
|
see https://www.denx.de/wiki/U-Boot/Patches
|
||||||
|
|
||||||
|
The only exception to this is in order to trigger a CI loop on Azure prior
|
||||||
|
to posting of patches.
|
||||||
|
|
|
@ -20,10 +20,6 @@ stages:
|
||||||
- ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname`
|
- ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname`
|
||||||
- grub-mkimage --prefix="" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd
|
- 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
|
- 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
|
|
||||||
- if [[ "${TEST_PY_BD}" == "qemu-riscv32_spl" ]]; then
|
- if [[ "${TEST_PY_BD}" == "qemu-riscv32_spl" ]]; then
|
||||||
wget -O - https://github.com/riscv/opensbi/releases/download/v0.6/opensbi-0.6-rv32-bin.tar.xz | tar -C /tmp -xJ;
|
wget -O - https://github.com/riscv/opensbi/releases/download/v0.6/opensbi-0.6-rv32-bin.tar.xz | tar -C /tmp -xJ;
|
||||||
export OPENSBI=/tmp/opensbi-0.6-rv32-bin/platform/qemu/virt/firmware/fw_dynamic.bin;
|
export OPENSBI=/tmp/opensbi-0.6-rv32-bin/platform/qemu/virt/firmware/fw_dynamic.bin;
|
||||||
|
@ -40,6 +36,12 @@ stages:
|
||||||
- export UBOOT_TRAVIS_BUILD_DIR=/tmp/${TEST_PY_BD}
|
- export UBOOT_TRAVIS_BUILD_DIR=/tmp/${TEST_PY_BD}
|
||||||
- tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w -E -W -e
|
- tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w -E -W -e
|
||||||
--board ${TEST_PY_BD} ${OVERRIDE}
|
--board ${TEST_PY_BD} ${OVERRIDE}
|
||||||
|
- cp ~/grub_x86.efi $UBOOT_TRAVIS_BUILD_DIR/
|
||||||
|
- cp ~/grub_x64.efi $UBOOT_TRAVIS_BUILD_DIR/
|
||||||
|
- cp /opt/grub/grubriscv64.efi $UBOOT_TRAVIS_BUILD_DIR/grub_riscv64.efi
|
||||||
|
- cp /opt/grub/grubriscv32.efi $UBOOT_TRAVIS_BUILD_DIR/grub_riscv32.efi
|
||||||
|
- cp /opt/grub/grubaa64.efi $UBOOT_TRAVIS_BUILD_DIR/grub_arm64.efi
|
||||||
|
- cp /opt/grub/grubarm.efi $UBOOT_TRAVIS_BUILD_DIR/grub_arm.efi
|
||||||
- virtualenv -p /usr/bin/python3 /tmp/venv
|
- virtualenv -p /usr/bin/python3 /tmp/venv
|
||||||
- . /tmp/venv/bin/activate
|
- . /tmp/venv/bin/activate
|
||||||
- pip install -r test/py/requirements.txt
|
- pip install -r test/py/requirements.txt
|
||||||
|
|
Loading…
Add table
Reference in a new issue