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
|
||||
- cmake .
|
||||
- make -j$(nproc)
|
||||
cache:
|
||||
paths:
|
||||
- libraries/
|
||||
- programs/
|
||||
- test/
|
||||
tags:
|
||||
- builder
|
||||
|
||||
|
|
@ -16,11 +21,5 @@ test:
|
|||
script:
|
||||
- ./tests/betting_test
|
||||
- ./tests/chain_test
|
||||
cache:
|
||||
key: $CI_COMMIT_REF_NAME
|
||||
paths:
|
||||
- libraries/
|
||||
- programs/
|
||||
- test/
|
||||
tags:
|
||||
- builder
|
||||
Loading…
Reference in a new issue