From e04e56e3ed3a98f7fdbf9d81fe26c4e461a2aa97 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Sun, 2 Jan 2022 17:29:51 +0100 Subject: [PATCH] Add rust-unit-tests-windows --- .circleci/config.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 737657f4d..9a2ee541c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -182,6 +182,26 @@ jobs: command: make test-safety - run: make build-go + rust-unit-tests-windows: + executor: + name: win/default + shell: powershell.exe + steps: + - checkout + - run: + name: Install Rustup + command: choco install rustup.install + - run: + name: Install Rust + command: rustup default 1.55.0 + - run: + name: Show Rust version information + command: rustc --version; cargo --version; rustup --version + - run: + name: Run unit tests + working_directory: libwasmvm + command: cargo test + # Note: this is pretty limited right now because it only tests the checked-in # wasmvm.dll without rebuilding it. test-windows: @@ -301,6 +321,7 @@ workflows: - tidy-go - format-scripts - lint-scripts + - rust-unit-tests-windows - test-windows - build_shared_library: filters: # required since other jobs with tag filters require this one