[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 35/42] .travis.yml: Enable ccache on OSX
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PATCH v1 35/42] .travis.yml: Enable ccache on OSX |
Date: |
Wed, 4 Sep 2019 21:30:06 +0100 |
From: Philippe Mathieu-Daudé <address@hidden>
By default, ccache is not installed on macOS environments.
See https://docs.travis-ci.com/user/caching/#ccache-on-macos
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
.travis.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 5a878ae6ae9..2dd26486abc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -45,6 +45,7 @@ addons:
- gcovr
homebrew:
packages:
+ - ccache
- glib
- pixman
- gnu-sed
@@ -80,6 +81,7 @@ git:
before_script:
+ - if [ "$TRAVIS_OS_NAME" == "osx" ] ; then export
PATH="/usr/local/opt/ccache/libexec:$PATH" ; fi
- command -v ccache && ccache --zero-stats
- mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
- ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit
1; }
--
2.20.1
- Re: [Qemu-devel] [PATCH v1 15/42] tests/docker: move our m68k cross compile to Buster, (continued)
- [Qemu-devel] [PATCH v1 09/42] tests/docker: set DEF_TARGET_LIST for some containers, Alex Bennée, 2019/09/04
- [Qemu-devel] [PATCH v1 13/42] tests/docker: move our Alpha cross compile to Buster, Alex Bennée, 2019/09/04
- [Qemu-devel] [PATCH v1 19/42] tests/docker: move our riscv64 cross compile to Buster, Alex Bennée, 2019/09/04
- [Qemu-devel] [PATCH v1 12/42] tests/docker: move our powerpc cross compile to Buster, Alex Bennée, 2019/09/04
- [Qemu-devel] [PATCH v1 24/42] tests/docker: add debian9-mxe to DEBIAN_PARTIAL_IMAGES, Alex Bennée, 2019/09/04
- [Qemu-devel] [PATCH v1 35/42] .travis.yml: Enable ccache on OSX,
Alex Bennée <=
- [Qemu-devel] [PATCH v1 32/42] .travis.yml: Cache Python PIP packages, Alex Bennée, 2019/09/04
- [Qemu-devel] [PATCH v1 33/42] .travis.yml: Cache Avocado cache, Alex Bennée, 2019/09/04
- [Qemu-devel] [PATCH v1 21/42] tests/docker: drop debian-sid image, Alex Bennée, 2019/09/04
- [Qemu-devel] [PATCH v1 17/42] tests/docker: move our sh4 cross compile to Buster, Alex Bennée, 2019/09/04
- [Qemu-devel] [PATCH v1 28/42] tests/docker: add more images to PARTIAL_IMAGES when not on x86_64, Alex Bennée, 2019/09/04
- [Qemu-devel] [PATCH v1 42/42] tests/docker: don't always encoding for subprocess.check_output, Alex Bennée, 2019/09/04
- [Qemu-devel] [PATCH v1 16/42] tests/docker: move our sparc64 cross compile to Buster, Alex Bennée, 2019/09/04