Skip to content
Snippets Groups Projects
Commit 831b0fec authored by Louis's avatar Louis :fire:
Browse files

Restore cache

parent 5f26e357
No related branches found
No related tags found
No related merge requests found
Pipeline #479 failed with stages
in 1 minute and 16 seconds
...@@ -30,19 +30,18 @@ run-tests: ...@@ -30,19 +30,18 @@ run-tests:
compile-desktop: compile-desktop:
image: image:
name: r.lcr.gr/microhacks/rust-ci-builder:latest name: r.lcr.gr/microhacks/rust-ci-builder:latest
entrypoint: []
stage: compile stage: compile
# before_script: before_script:
# - export CARGO_HOME="${CI_PROJECT_DIR}/.cargo" - export CARGO_HOME="${CI_PROJECT_DIR}/.cargo"
# - export PATH="${CI_PROJECT_DIR}/.cargo/bin:$PATH" - export PATH="${CI_PROJECT_DIR}/.cargo/bin:$PATH"
# cache: cache:
# key: build-cache-linux key: build-cache-linux
# paths: paths:
# - .cargo/registry/cache - .cargo/registry/cache
# - .cargo/registry/index - .cargo/registry/index
# - .cargo/git/db - .cargo/git/db
# - .cargo/bin/ - .cargo/bin/
# - target/ - target/
script: script:
- cargo build --release - cargo build --release
dependencies: dependencies:
...@@ -51,19 +50,18 @@ compile-desktop: ...@@ -51,19 +50,18 @@ compile-desktop:
compile-web: compile-web:
image: image:
name: r.lcr.gr/microhacks/rust-ci-builder:latest name: r.lcr.gr/microhacks/rust-ci-builder:latest
entrypoint: []
stage: compile stage: compile
# before_script: before_script:
# - export CARGO_HOME="${CI_PROJECT_DIR}/.cargo" - export CARGO_HOME="${CI_PROJECT_DIR}/.cargo"
# - export PATH="${CI_PROJECT_DIR}/.cargo/bin:$PATH" - export PATH="${CI_PROJECT_DIR}/.cargo/bin:$PATH"
# cache: cache:
# key: build-cache-web key: build-cache-web
# paths: paths:
# - .cargo/registry/cache - .cargo/registry/cache
# - .cargo/registry/index - .cargo/registry/index
# - .cargo/git/db - .cargo/git/db
# - .cargo/bin/ - .cargo/bin/
# - target/ - target/
script: script:
- rm -rf forge-script-web/out - rm -rf forge-script-web/out
- mkdir -p forge-script-web/out - mkdir -p forge-script-web/out
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment