Skip to content

Commit

Permalink
.cargo and .rustup ??
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceadams committed Mar 29, 2021
1 parent eeb94f3 commit 7fe4c71
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ macos_instance:
task:
env:
CARGO_HOME: $HOME/.cargo
RUSTUP_HOME: $HOME/.rustup
PATH: $CARGO_HOME/bin:${PATH}
registry_cache:
folder: $CARGO_HOME
populate_script:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --target aarch64-apple-darwin --verbose
folder:
- $CARGO_HOME
- $RUSTUP_HOME
populate_script: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --target aarch64-apple-darwin --verbose
target_cache:
folder: target
fingerprint_script:
- cat Cargo.lock
fingerprint_script: cat Cargo.lock
build_script: cargo build --release --target aarch64-apple-darwin --verbose
before_cache_script: rm -rf $CARGO_HOME/registry/index

0 comments on commit 7fe4c71

Please sign in to comment.