diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2016-10-24 14:15:03 +0200 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2016-10-24 14:18:20 +0200 |
commit | aedc2df36ade787c9cc820bcdf3637eefa1850eb (patch) | |
tree | beb3736e73fa70ef8e1d501d03752705f908795b /tcwg-abe-extended.yaml | |
parent | e6760486dc57ebebf8a76c22d7459bc5629a73b2 (diff) |
tcwg-abe-extended: Update canadian cross build.
Change-Id: I4bc5f7ab616fe912ef781f076b9f36901ec21e08
Diffstat (limited to 'tcwg-abe-extended.yaml')
-rw-r--r-- | tcwg-abe-extended.yaml | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/tcwg-abe-extended.yaml b/tcwg-abe-extended.yaml index 0968d89e..4816badd 100644 --- a/tcwg-abe-extended.yaml +++ b/tcwg-abe-extended.yaml @@ -68,7 +68,6 @@ builders: - shell: | #!/bin/bash - schroot_arch=amd64 schroot_image="tcwg-build-${schroot_arch}-trusty" @@ -88,12 +87,26 @@ # are already present. git config --global user.email "tcwg-buildslave@linaro.org" git config --global user.name "TCWG BuildSlave" - ${BUILD_SHELL} -x ${WORKSPACE}/jenkins.sh -t arm-linux-gnueabihf --override "--extraconfigdir ../config/gcc6 $gccver" + mkdir _build + cd _build + target=arm-linux-gnueabihf + ${BUILD_SHELL} ../configure --with-git-reference-dir=~tcwg-buildslave/snapshots-ref + ret=$? + if test ${ret} -ne 0; then + echo "Configure error: ${ret}" + exit $ret + fi + ${BUILD_SHELL} -x ${WORKSPACE}/abe.sh --target ${target} --extraconfigdir ../config/gcc6 --build all $gccver + ret=$? + if test ${ret} -ne 0; then + echo "First build error: ${ret}" + exit $ret + fi + ${BUILD_SHELL} -x ${WORKSPACE}/abe.sh --target ${target} --extraconfigdir ../config/gcc6 --build all $gccver --host i686-w64-mingw32 ret=$? - if test ${ret} -eq 0; then - cd _build - ${BUILD_SHELL} -x ${WORKSPACE}/abe.sh --target arm-linux-gnueabihf --extraconfigdir ../config/gcc6 --host i686-w64-mingw32 --build all $gccver - ret=$? + if test ${ret} -ne 0; then + echo "Second build error: ${ret}" + exit $ret fi #FIXME: check what was actually built #FIXME: validate the manifest |