From 1c2e37fd02940e5281a9aad448a68149423d3fe9 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Mon, 6 Aug 2018 13:57:27 -0400 Subject: [PATCH 1/3] Resave the cache every time --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2e9130367..da69f5618 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -60,7 +60,7 @@ jobs: paths: - ./emsdk/emsdk - ~/.ccache - key: v1-emsdk-{{ checksum "emsdk/Makefile" }}-v6 + key: v1-emsdk-{{ checksum "emsdk/Makefile" }}-v6-{{ .BuildNum }} - run: name: test From 93e851a88a0b89e5ddf205374ea92842eee71dbe Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Mon, 6 Aug 2018 13:58:05 -0400 Subject: [PATCH 2/3] Zero ccache results before build --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index da69f5618..7bee2d371 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,6 +53,7 @@ jobs: name: build no_output_timeout: 1200 command: | + ccache -z make ccache -s From 6cc80fbf2a60ac535545244ac38a4558776059fc Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Mon, 6 Aug 2018 14:00:00 -0400 Subject: [PATCH 3/3] Add hyphen so nothing will match exactly --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7bee2d371..208e0adba 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -47,7 +47,7 @@ jobs: - restore_cache: keys: - - v1-emsdk-{{ checksum "emsdk/Makefile" }}-v6 + - v1-emsdk-{{ checksum "emsdk/Makefile" }}-v6- - run: name: build