Added cache to CI
This commit is contained in:
parent
7d8f213867
commit
dfb9fc3953
1 changed files with 5 additions and 6 deletions
|
|
@ -8,6 +8,11 @@ build:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
- cmake .
|
- cmake .
|
||||||
- make -j$(nproc)
|
- make -j$(nproc)
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- libraries/
|
||||||
|
- programs/
|
||||||
|
- test/
|
||||||
tags:
|
tags:
|
||||||
- builder
|
- builder
|
||||||
|
|
||||||
|
|
@ -16,11 +21,5 @@ test:
|
||||||
script:
|
script:
|
||||||
- ./tests/betting_test
|
- ./tests/betting_test
|
||||||
- ./tests/chain_test
|
- ./tests/chain_test
|
||||||
cache:
|
|
||||||
key: $CI_COMMIT_REF_NAME
|
|
||||||
paths:
|
|
||||||
- libraries/
|
|
||||||
- programs/
|
|
||||||
- test/
|
|
||||||
tags:
|
tags:
|
||||||
- builder
|
- builder
|
||||||
Loading…
Reference in a new issue