Added cache to CI

This commit is contained in:
Roshan Syed 2019-09-05 15:27:25 -03:00
parent 7d8f213867
commit dfb9fc3953

View file

@ -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