feat(test): test CLI on windows

This commit is contained in:
Ashley Williams 2020-01-23 13:51:46 -06:00
parent 580c7a714a
commit caccedb722

View File

@ -106,6 +106,30 @@ jobs:
- script: cargo test -p wasm-bindgen-wasm-interpreter - script: cargo test -p wasm-bindgen-wasm-interpreter
displayName: "wasm-bindgen-wasm-interpreter tests" displayName: "wasm-bindgen-wasm-interpreter tests"
- job: test_cli_windows
displayName: "Run wasm-bindgen-cli crate tests (Windows)"
pool:
vmImage: vs2017-win2016
steps:
- template: ci/azure-install-rust.yml
# Temporarily disable sccache because it is failing on CI.
# - template: ci/azure-install-sccache.yml
- script: rustup target add wasm32-unknown-unknown
displayName: "install wasm target"
- task: NodeTool@0
inputs:
versionSpec: '>=13.0'
- script: cargo test -p wasm-bindgen-cli-support
displayName: "wasm-bindgen-cli-support tests"
- script: cargo test -p wasm-bindgen-cli
displayName: "wasm-bindgen-cli tests"
- script: cargo test -p wasm-bindgen-anyref-xform
displayName: "wasm-bindgen-anyref-xform tests"
- script: cargo test -p wasm-bindgen-multi-value-xform
displayName: "wasm-bindgen-multi-value-xform tests"
- script: cargo test -p wasm-bindgen-wasm-interpreter
displayName: "wasm-bindgen-wasm-interpreter tests"
- job: test_web_sys - job: test_web_sys
displayName: "Run web-sys crate tests" displayName: "Run web-sys crate tests"
steps: steps: