X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=.gitlab-ci.yml;h=95fc68906b98c666ed6039ade10e33f66862c25d;hb=bf1133b1e9c17d9434f16e4c60e7435de43ce903;hp=3ddd5ad99a859e38997b05a4f4cd9da1a4b34c42;hpb=1a62a722186ba5159813a5737de9894364ceede7;p=oweals%2Fu-boot.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3ddd5ad99a..95fc68906b 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: @@ -67,12 +67,48 @@ stages: fi; fi; -build all plaforms: +build all 32bit ARM plaforms: tags: [ 'all' ] stage: world build script: - ret=0; - ./tools/buildman/buildman -P -E || ret=$?; + ./tools/buildman/buildman -P -E arm -x aarch64 || ret=$?; + if [[ $ret -ne 0 && $ret -ne 129 ]]; then + ./tools/buildman/buildman -sdeP; + exit $ret; + fi; + +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 + ./tools/buildman/buildman -sdeP; + exit $ret; + fi; + +build all PowerPC plaforms: + tags: [ 'all' ] + stage: world build + script: + - ret=0; + ./tools/buildman/buildman -P -E powerpc || ret=$?; + if [[ $ret -ne 0 && $ret -ne 129 ]]; then + ./tools/buildman/buildman -sdeP; + exit $ret; + fi; + +build all other plaforms: + tags: [ 'all' ] + stage: world build + script: + - ret=0; + ./tools/buildman/buildman -P -E -x arm,powerpc || ret=$?; if [[ $ret -ne 0 && $ret -ne 129 ]]; then ./tools/buildman/buildman -sdeP; exit $ret; @@ -136,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 @@ -159,6 +198,16 @@ sandbox_spl test.py: TEST_PY_TEST_SPEC: "test_ofplatdata" <<: *buildman_and_testpy_dfn +evb-ast2500 test.py: + tags: [ 'all' ] + variables: + TEST_PY_BD: "evb-ast2500" + TEST_PY_ID: "--id qemu" + QEMU_TARGET: "arm-softmmu" + QEMU_VERSION: "506179e42112be77bfd071f050b15762d3b2cd43" + BUILDMAN: "^evb-ast2500$" + <<: *buildman_and_testpy_dfn + sandbox_flattree test.py: tags: [ 'all' ] variables: