diff options
author | Jerome Forissier <jerome.forissier@linaro.org> | 2017-09-18 16:50:26 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2017-09-26 11:22:20 -0700 |
commit | 49e1c2f361c1f2a82d32dbcd6257f43a7232b2a0 (patch) | |
tree | 1f6c0a8d10546f1b1d0df09cf10384d23e78fffe /.shippable.yml | |
parent | 18b611d71817524e0a8f5d388d3f98597a9c8506 (diff) |
ci: .shippable.yml: fix _make function
The _make function is supposed to return an error status in case make
fails. For this to happen, we need to use && between commands, not ;.
Fixes: 5da449eaf73b ("ci: add .shippable.yml")
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to '.shippable.yml')
-rw-r--r-- | .shippable.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.shippable.yml b/.shippable.yml index e0f0b1c7..dc6796fc 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -14,7 +14,7 @@ build: - export CROSS_COMPILE32="ccache arm-linux-gnueabihf-" - export CROSS_COMPILE64="ccache aarch64-linux-gnu-" - export CCACHE_DIR=${SHIPPABLE_BUILD_DIR}/.ccache - - function _make() { make -j$(getconf _NPROCESSORS_ONLN) -s $*; ccache -s; ccache -z; } + - function _make() { make -j$(getconf _NPROCESSORS_ONLN) -s $* && ccache -s && ccache -z; } - ccache -z # |