File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-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
+ - show_cpu_info
80
+ - run :
81
+ name : Install Rust
82
+ command : |
83
+ set -o errexit
84
+ curl -sS --output rustup-init.exe https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe
85
+ ./rustup-init.exe --no-modify-path --profile minimal --default-toolchain 1.60.0 -y
86
+ echo 'export PATH="$PATH;$USERPROFILE/.cargo/bin"' >> "$BASH_ENV"
87
+ - run :
88
+ name : Show Rust version information
89
+ command : rustc --version; cargo --version; rustup --version
90
+ - restore_cache :
91
+ keys :
92
+ - cachev4-libwasmvm_sanity_windows-rust:1.60.0-{{ checksum "libwasmvm/Cargo.lock" }}
93
+ - cachev4-libwasmvm_sanity_windows-rust:1.60.0-
94
+ - run :
95
+ name : Run unit tests
96
+ working_directory : libwasmvm
97
+ command : cargo test
98
+ - save_cache :
99
+ paths :
100
+ # ".." is the easiest way to get $HOME here (pwd is $HOME\project)
101
+ - ../.cargo/registry
102
+ - libwasmvm/target/debug/.fingerprint
103
+ - libwasmvm/target/debug/build
104
+ - libwasmvm/target/debug/deps
105
+ key : cachev4-libwasmvm_sanity_windows-rust:1.60.0-{{ checksum "libwasmvm/Cargo.lock" }}
106
+
68
107
libwasmvm_audit :
69
108
docker :
70
109
# The audit tool might use a more modern Rust version than the build jobs. See
@@ -327,6 +366,7 @@ workflows:
327
366
build_and_test :
328
367
jobs :
329
368
- libwasmvm_sanity
369
+ - libwasmvm_sanity_windows
330
370
- libwasmvm_audit
331
371
- format-go
332
372
- wasmvm_no_cgo
You can’t perform that action at this time.
0 commit comments