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 6565 - libwasmvm/target/release/deps
6666 key : cargocache-v3-libwasmvm_sanity-rust:1.60.0-{{ checksum "libwasmvm/Cargo.lock" }}
6767
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+
68107 libwasmvm_audit :
69108 docker :
70109 # The audit tool might use a more modern Rust version than the build jobs. See
@@ -327,6 +366,7 @@ workflows:
327366 build_and_test :
328367 jobs :
329368 - libwasmvm_sanity
369+ - libwasmvm_sanity_windows
330370 - libwasmvm_audit
331371 - format-go
332372 - wasmvm_no_cgo
You can’t perform that action at this time.
0 commit comments