attempt to gain manual control over caching on windows wapm-cli

This commit is contained in:
Mark McCaskey 2019-05-20 11:56:40 -07:00
parent 10fb60db78
commit 3fd55cfefb

View File

@ -18,7 +18,7 @@ environment:
cache: cache:
- 'C:\Users\appveyor\.cargo' - 'C:\Users\appveyor\.cargo'
- target - target
- 'wapm-cli\target' - wapm-cli-target
install: install:
# # Install LLVM # # Install LLVM
@ -54,7 +54,12 @@ build_script:
- rmdir wapm-cli /s /q - rmdir wapm-cli /s /q
- git submodule init - git submodule init
- git submodule update - git submodule update
# Cache wapm cli target in dir above to prevent breaking git submodule on windows
- move wapm-cli-target wapm-cli
- rename wapm-cli\wapm-cli-target wapm-cli\target
- cargo build --release --manifest-path wapm-cli/Cargo.toml --features telemetry - cargo build --release --manifest-path wapm-cli/Cargo.toml --features telemetry
- rename wapm-cli\target wapm-cli\wapm-cli-target
- move wapm-cli\wapm-cli-target wapm-cli-target
test_script: test_script:
- cargo test --manifest-path lib/spectests/Cargo.toml --features clif - cargo test --manifest-path lib/spectests/Cargo.toml --features clif