diff mbox series

[v1,13/19] travis.yml: cache the clang sanitizer build

Message ID 20191022191704.6134-14-alex.bennee@linaro.org
State Superseded
Headers show
Series testing/next before softfreeze | expand

Commit Message

Alex Bennée Oct. 22, 2019, 7:16 p.m. UTC
Hopefully we'll see the same benefits as the other builds.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

-- 
2.20.1

Comments

Philippe Mathieu-Daudé Oct. 23, 2019, 12:14 p.m. UTC | #1
On 10/22/19 9:16 PM, Alex Bennée wrote:
> Hopefully we'll see the same benefits as the other builds.

> 

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> ---

>   .travis.yml | 1 +

>   1 file changed, 1 insertion(+)

> 

> diff --git a/.travis.yml b/.travis.yml

> index da6a2063fca..c43597f1331 100644

> --- a/.travis.yml

> +++ b/.travis.yml

> @@ -189,6 +189,7 @@ matrix:

>   

>       - env:

>           - CONFIG="--target-list=${MAIN_SOFTMMU_TARGETS} "

> +        - CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-sanitize"

>         compiler: clang

>         before_script:

>           - ./configure ${CONFIG} --extra-cflags="-fsanitize=undefined -Werror" || { cat config.log && exit 1; }

> 


Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index da6a2063fca..c43597f1331 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -189,6 +189,7 @@  matrix:
 
     - env:
         - CONFIG="--target-list=${MAIN_SOFTMMU_TARGETS} "
+        - CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-sanitize"
       compiler: clang
       before_script:
         - ./configure ${CONFIG} --extra-cflags="-fsanitize=undefined -Werror" || { cat config.log && exit 1; }