Skip to content

Commit 119751f

Browse files
committed
Add rust-unit-tests-windows
1 parent 3e213d8 commit 119751f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.circleci/config.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,28 @@ jobs:
182182
command: make test-safety
183183
- run: make build-go
184184

185+
rust-unit-tests-windows:
186+
executor:
187+
name: win/default
188+
shell: powershell.exe
189+
environment:
190+
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
191+
steps:
192+
- checkout
193+
- run:
194+
name: Install Rustup
195+
command: choco install rustup.install
196+
- run:
197+
name: Install Rust
198+
command: rustup default 1.55.0
199+
- run:
200+
name: Show Rust version information
201+
command: rustc --version; cargo --version; rustup --version
202+
- run:
203+
name: Run unit tests
204+
working_directory: libwasmvm
205+
command: cargo test
206+
185207
# Note: this is pretty limited right now because it only tests the checked-in
186208
# wasmvm.dll without rebuilding it.
187209
test-windows:
@@ -301,6 +323,7 @@ workflows:
301323
- tidy-go
302324
- format-scripts
303325
- lint-scripts
326+
- rust-unit-tests-windows
304327
- test-windows
305328
- build_shared_library:
306329
filters: # required since other jobs with tag filters require this one

0 commit comments

Comments
 (0)