X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=.gitlab-ci.yml;h=95fc68906b98c666ed6039ade10e33f66862c25d;hb=a7e6d0c45a87d8f334aa23ff7874147db206f5d1;hp=c24a7eaa628fa44f5447be3340c06495d951159c;hpb=9f7bda104384465f8d63f39cab732ed28d8463cc;p=platform%2Fkernel%2Fu-boot.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c24a7ea..95fc689 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ # Grab our configured image. The source for this is found at: # https://gitlab.denx.de/u-boot/gitlab-ci-runner -image: trini/u-boot-gitlab-ci-runner:xenial-20190222-24April2019 +image: trini/u-boot-gitlab-ci-runner:xenial-20190720-24Jul2019 # We run some tests in different order, to catch some failures quicker. stages: @@ -22,7 +22,6 @@ stages: - . /tmp/venv/bin/activate - pip install pytest==2.8.7 - pip install python-subunit - - pip install pyelftools - grub-mkimage -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd - grub-mkimage -o ~/grub_x64.efi -O x86_64-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd - mkdir ~/grub2-arm @@ -83,6 +82,9 @@ build all 64bit ARM plaforms: tags: [ 'all' ] stage: world build script: + - virtualenv /tmp/venv + - . /tmp/venv/bin/activate + - pip install pyelftools - ret=0; ./tools/buildman/buildman -P -E aarch64 || ret=$?; if [[ $ret -ne 0 && $ret -ne 129 ]]; then @@ -170,11 +172,14 @@ Run binman and dtoc testsuite: tags: [ 'all' ] stage: testsuites script: + - virtualenv /tmp/venv + - . /tmp/venv/bin/activate + - pip install pyelftools - export UBOOT_TRAVIS_BUILD_DIR=`cd .. && pwd`/.bm-work/sandbox_spl; ./tools/buildman/buildman -P sandbox_spl && export PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt"; export PATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc:${PATH}"; - ./tools/binman/binman -t && + ./tools/binman/binman --toolpath ${UBOOT_TRAVIS_BUILD_DIR}/tools test && ./tools/dtoc/dtoc -t # Test sandbox with test.py