Skip to content

Commit

Permalink
ci: travis: delete toolchain binaries after download
Browse files Browse the repository at this point in the history
Since build.git has been upgraded to GCC 8.2 [1], we are running out of
disk space when running the Travis CI script. This is because the GCC 8.2
binaries are much larger than 6.2:

 218M gcc-arm-8.2-2018.08-x86_64-aarch64-linux-gnu.tar.xz
 213M gcc-arm-8.2-2018.08-x86_64-arm-linux-gnueabihf.tar.xz
  94M gcc-linaro-6.2.1-2016.11-x86_64_aarch64-linux-gnu.tar.xz
  88M gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz

This commit makes some room by deleting the packages once they have been
extracted.

Link: [1] OP-TEE/build@53119b77e9f2
Signed-off-by: Jerome Forissier <[email protected]>
Reviewed-by: Joakim Bech <[email protected]>
Acked-by: Jens Wiklander <[email protected]>
  • Loading branch information
jforissier committed Oct 1, 2018
1 parent 8a6d4a8 commit 57c0df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ script:

# Run regression tests (xtest in QEMU)
- export CFG_WERROR=y
- (cd ${HOME}/optee_repo/build && $make toolchains && $make check BR2_CCACHE_DIR=~/.ccache DUMP_LOGS_ON_ERROR=1)
- (cd ${HOME}/optee_repo/build && $make toolchains && rm -f ${HOME}/optee_repo/toolchains/gcc-*.tar.xz && $make check BR2_CCACHE_DIR=~/.ccache DUMP_LOGS_ON_ERROR=1)

env:
global:
Expand Down

0 comments on commit 57c0df8

Please sign in to comment.