Skip to content

Commit

Permalink
Use official node releases for anyref test suite (#1798)
Browse files Browse the repository at this point in the history
Looks like 12.11.0 has all the support we need!
  • Loading branch information
alexcrichton committed Sep 26, 2019
1 parent bdcf27c commit 599ec8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions azure-pipelines.yml
Expand Up @@ -36,11 +36,9 @@ jobs:
displayName: "multi-value xform tests on native"
- script: |
set -e
curl https://nodejs.org/download/nightly/v13.0.0-nightly2019081215b2d13310/node-v13.0.0-nightly2019081215b2d13310-linux-x64.tar.xz | tar xJf -
echo "##vso[task.prependpath]$PWD/node-v13.0.0-nightly2019081215b2d13310-linux-x64/bin"
echo "##vso[task.setvariable variable=NODE_ARGS]--experimental-wasm-anyref,--experimental-wasm-bulk_memory"
echo "##vso[task.setvariable variable=NODE_ARGS]--experimental-wasm-anyref"
echo "##vso[task.setvariable variable=WASM_BINDGEN_ANYREF]1"
displayName: "Install a custom node.js and configure anyref"
displayName: "Configure anyref passes"
- script: cargo test --target wasm32-unknown-unknown --test wasm
displayName: "(anyref) Crate test suite"
- script: WASM_BINDGEN_NO_DEBUG=1 cargo test --target wasm32-unknown-unknown --test wasm
Expand Down
2 changes: 1 addition & 1 deletion ci/azure-install-node.yml
Expand Up @@ -3,4 +3,4 @@ steps:
displayName: "Add WebAssembly target via rustup"
- task: NodeTool@0
inputs:
versionSpec: '>=12.0'
versionSpec: '>=12.11'

0 comments on commit 599ec8b

Please sign in to comment.