ci: Use dtonlnay runner for WASM
Use the newer github action cargo runner from dtolnay. Note, with this applied we only run the WASM tests using the stable toolchain.
This commit is contained in:
parent
493eaf723f
commit
d41bcc81d3
|
@ -58,21 +58,13 @@ jobs:
|
||||||
WASM:
|
WASM:
|
||||||
name: WASM
|
name: WASM
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
rust: [stable, beta, nightly] # wasm-pack doesn't support rust 1.41.1
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Crate
|
- name: Checkout Crate
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Install clang
|
- name: Install clang
|
||||||
run: sudo apt-get install -y clang
|
run: sudo apt-get install -y clang
|
||||||
- name: Checkout Toolchain
|
- name: Checkout Toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: ${{ matrix.rust }}
|
|
||||||
override: true
|
|
||||||
components: rust-src
|
|
||||||
- name: Running WASM tests
|
- name: Running WASM tests
|
||||||
env:
|
env:
|
||||||
DO_WASM: true
|
DO_WASM: true
|
||||||
|
|
Loading…
Reference in New Issue