File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -301,19 +301,11 @@ jobs:
301301
302302 wasm :
303303 name : Check the WASM package and demo
304- needs : rust_tests
305304 runs-on : ubuntu-latest
306305 steps :
307306 - uses : actions/checkout@v2
308307 - uses : dtolnay/rust-toolchain@stable
309- - name : Cache cargo dependencies
310- uses : actions/cache@v2
311- with :
312- path : |
313- ~/.cargo/registry
314- ~/.cargo/git
315- target
316- key : ${{ runner.os }}-wasm_opt3-${{ hashFiles('**/Cargo.lock') }}
308+ - uses : Swatinem/rust-cache@v1
317309 - name : install wasm-pack
318310 run : curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
319311 - name : install geckodriver
@@ -357,18 +349,11 @@ jobs:
357349 - uses : dtolnay/rust-toolchain@stable
358350 with :
359351 target : wasm32-wasi
352+ - uses : Swatinem/rust-cache@v1
360353 - name : Setup Wasmer
361354 uses : wasmerio/setup-wasmer@v1
362355 - name : Install clang
363356 run : sudo apt-get update && sudo apt-get install clang -y
364- - name : Cache cargo dependencies
365- uses : actions/cache@v2
366- with :
367- path : |
368- ~/.cargo/registry
369- ~/.cargo/git
370- target
371- key : ${{ runner.os }}-wasi_opt3-${{ hashFiles('**/Cargo.lock') }}
372357 - name : build rustpython
373358 run : cargo build --release --target wasm32-wasi --features freeze-stdlib,stdlib --verbose
374359 - name : run snippets
You can’t perform that action at this time.
0 commit comments