Commit 610c763a authored by John Zhang's avatar John Zhang

try cache

parent be40c0ae
...@@ -22,14 +22,16 @@ stages: ...@@ -22,14 +22,16 @@ stages:
- build - build
- test - test
cache:
key: "$CI_BUILD_STAGE/$CI_BUILD_REF_NAME"
paths:
- target
build_libmu: build_libmu:
stage: build stage: build
script: script:
- rustc --version && cargo --version # Print version info for debugging - rustc --version && cargo --version # Print version info for debugging
- RUSTFLAGS=-Zincremental=target/incr-cache RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang cargo test --no-run - RUSTFLAGS=-Zincremental=target/incr-cache RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CC=clang cargo test --no-run
artifacts:
paths:
- $CI_PROJECT_DIR/target
test:cargo:api: test:cargo:api:
stage: test stage: test
......
Markdown is supported
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