mirror of
https://github.com/vbrandl/bind9-api.git
synced 2024-11-22 11:13:49 +01:00
Cache build directory to speed up CI
This commit is contained in:
parent
28b486a9b0
commit
a5506eadfe
@ -4,6 +4,10 @@ services:
|
|||||||
script:
|
script:
|
||||||
- docker run --rm -it -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder sh -c 'sudo chown -R rust . && cargo test && cargo build --release'
|
- docker run --rm -it -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder sh -c 'sudo chown -R rust . && cargo test && cargo build --release'
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- ./target/
|
||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- ./ci/before_deploy.sh
|
- ./ci/before_deploy.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user