File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 65
65
- libwasmvm/target/release/deps
66
66
key : cargocache-v3-libwasmvm_sanity-rust:1.60.0-{{ checksum "libwasmvm/Cargo.lock" }}
67
67
68
+ # This performs all the Rust debug builds on Windows. Similar to libwasmvm_sanity
69
+ # but avoids duplicating things that are not platform dependent.
70
+ libwasmvm_sanity_windows :
71
+ executor :
72
+ name : win/default
73
+ shell : bash.exe
74
+ steps :
75
+ - checkout
76
+ - run :
77
+ name : Reset git config set by CircleCI to make Cargo work
78
+ command :
git config --global --unset url.ssh://[email protected]
79
+ - run :
80
+ name : Install Rust
81
+ command : |
82
+ set -o errexit
83
+ curl -sS --output rustup-init.exe https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe
84
+ ./rustup-init.exe --no-modify-path --profile minimal --default-toolchain 1.60.0 -y
85
+ echo 'export PATH="$PATH;$USERPROFILE/.cargo/bin"' >> "$BASH_ENV"
86
+ - run :
87
+ name : Show Rust version information
88
+ command : rustc --version; cargo --version; rustup --version
89
+ - restore_cache :
90
+ keys :
91
+ - cachev4-libwasmvm_sanity_windows-rust:1.60.0-{{ checksum "libwasmvm/Cargo.lock" }}
92
+ - cachev4-libwasmvm_sanity_windows-rust:1.60.0-
93
+ - run :
94
+ name : Run unit tests
95
+ working_directory : libwasmvm
96
+ command : cargo test
97
+ - save_cache :
98
+ paths :
99
+ # ".." is the easiest way to get $HOME here (pwd is $HOME\project)
100
+ - ../.cargo/registry
101
+ - libwasmvm/target/debug/.fingerprint
102
+ - libwasmvm/target/debug/build
103
+ - libwasmvm/target/debug/deps
104
+ key : cachev4-libwasmvm_sanity_windows-rust:1.60.0-{{ checksum "libwasmvm/Cargo.lock" }}
105
+
68
106
libwasmvm_audit :
69
107
docker :
70
108
# The audit tool might use a more modern Rust version than the build jobs. See
@@ -327,6 +365,7 @@ workflows:
327
365
build_and_test :
328
366
jobs :
329
367
- libwasmvm_sanity
368
+ - libwasmvm_sanity_windows
330
369
- libwasmvm_audit
331
370
- format-go
332
371
- wasmvm_no_cgo
You can’t perform that action at this time.
0 commit comments