Commit 6d725c32 authored by Michael Aaron Murphy's avatar Michael Aaron Murphy
Browse files

Cache Cargo CI build artifacts

parent 86a38b47
image: "rustlang/rust:nightly" image: "rustlang/rust:nightly"
variables:
CARGO_HOME: $CI_PROJECT_DIR/cargo
stages: stages:
- build - build
...@@ -17,6 +19,10 @@ build:linux: ...@@ -17,6 +19,10 @@ build:linux:
stage: build stage: build
script: script:
- make all - make all
cache:
paths:
- cargo/
- target/
build:redox: build:redox:
stage: build stage: build
...@@ -34,6 +40,11 @@ build:redox: ...@@ -34,6 +40,11 @@ build:redox:
# Main script # Main script
- make all - make all
cache:
paths:
- cargo/
- target/
test:linux: test:linux:
stage: test stage: test
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment