1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(CircleCI): make cache depend on script files

CircleCI caches are immutable once they are written, make them depend on
the script files they are generated from.
This commit is contained in:
sudden6 2019-03-23 13:20:31 +01:00
parent acb99f8327
commit 7bbbb7377a
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -18,7 +18,7 @@ jobs:
sudo apt-get update
sudo apt-get install zip tree
- restore_cache:
key: dependency-cache-64
key: deps64-{{ checksum "windows/cross-compile/build.sh" }}-{{ checksum ".travis/build-windows.sh" }}
paths:
- cache
- run:
@ -31,7 +31,7 @@ jobs:
./.travis/build-windows.sh "$BUILD__" "$BTYPE__" "cache/${BUILD__}" stage2
ls -al cache
- save_cache:
key: dependency-cache-64
key: deps64-{{ checksum "windows/cross-compile/build.sh" }}-{{ checksum ".travis/build-windows.sh" }}
paths:
- cache
release64:
@ -39,7 +39,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: dependency-cache-64
key: deps64-{{ checksum "windows/cross-compile/build.sh" }}-{{ checksum ".travis/build-windows.sh" }}
paths:
- cache
- run:
@ -70,7 +70,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: dependency-cache-64
key: deps64-{{ checksum "windows/cross-compile/build.sh" }}-{{ checksum ".travis/build-windows.sh" }}
paths:
- cache
- run:
@ -111,7 +111,7 @@ jobs:
sudo apt-get update
sudo apt-get install zip tree
- restore_cache:
key: dependency-cache-32
key: deps32-{{ checksum "windows/cross-compile/build.sh" }}-{{ checksum ".travis/build-windows.sh" }}
paths:
- cache
- run:
@ -124,7 +124,7 @@ jobs:
./.travis/build-windows.sh "$BUILD__" "$BTYPE__" "cache/${BUILD__}" stage2
ls -al cache
- save_cache:
key: dependency-cache-32
key: deps32-{{ checksum "windows/cross-compile/build.sh" }}-{{ checksum ".travis/build-windows.sh" }}
paths:
- cache
release32:
@ -132,7 +132,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: dependency-cache-32
key: deps32-{{ checksum "windows/cross-compile/build.sh" }}-{{ checksum ".travis/build-windows.sh" }}
paths:
- cache
- run:
@ -163,7 +163,7 @@ jobs:
steps:
- checkout
- restore_cache:
key: dependency-cache-32
key: deps32-{{ checksum "windows/cross-compile/build.sh" }}-{{ checksum ".travis/build-windows.sh" }}
paths:
- cache
- run: