Update build.yml: Temporarily change default toolchain to 1.44.1 when testing iced-x86-js

This commit is contained in:
0xd4d 2020-07-19 13:03:57 +02:00
parent 9b5e0db439
commit b2e5dd18c3
1 changed files with 4 additions and 2 deletions

View File

@ -344,14 +344,16 @@ jobs:
- name: iced-x86-js tests
shell: bash
# 1.45.0 crashes so ignore errors for now
continue-on-error: true
run: |
export PATH="$HOME/.cargo/bin:$PATH"
export RUSTFLAGS="-D warnings"
cd src/rust/iced-x86-js
# 1.45.0 can't build it without a stack overflow
rustup default 1.44.1
wasm-pack build --mode force --target nodejs
# Restore default toolchain
rustup default stable
cd src/tests
npm install
npm test