File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- Lib /** linguist-vendored
1+ Lib /** linguist-vendored
2+ Cargo.lock linguist-generated - merge
23parser /src /python.rs linguist-generated - diff - merge
4+ ast /src /ast_gen.rs linguist-generated - merge
5+ vm /src /stdlib /ast /gen.rs linguist-generated - merge
6+ parser /python.lalrpop text eol =LF
7+ Lib /* .py text working-tree-encoding =UTF-8 eol =LF
8+ ** /* .rs text working-tree-encoding =UTF-8 eol =LF
Original file line number Diff line number Diff line change @@ -301,21 +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') }}
317- restore-keys : |
318- ${{ runner.os }}-debug_opt3-${{ hashFiles('**/Cargo.lock') }}
308+ - uses : Swatinem/rust-cache@v1
319309 - name : install wasm-pack
320310 run : curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
321311 - name : install geckodriver
@@ -359,20 +349,11 @@ jobs:
359349 - uses : dtolnay/rust-toolchain@stable
360350 with :
361351 target : wasm32-wasi
352+ - uses : Swatinem/rust-cache@v1
362353 - name : Setup Wasmer
363354 uses : wasmerio/setup-wasmer@v1
364355 - name : Install clang
365356 run : sudo apt-get update && sudo apt-get install clang -y
366- - name : Cache cargo dependencies
367- uses : actions/cache@v2
368- with :
369- path : |
370- ~/.cargo/registry
371- ~/.cargo/git
372- target
373- key : ${{ runner.os }}-wasm_opt3-${{ hashFiles('**/Cargo.lock') }}
374- restore-keys : |
375- ${{ runner.os }}-debug_opt3-${{ hashFiles('**/Cargo.lock') }}
376357 - name : build rustpython
377358 run : cargo build --release --target wasm32-wasi --features freeze-stdlib,stdlib --verbose
378359 - name : run snippets
You can’t perform that action at this time.
0 commit comments