File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,19 @@ jobs:
1616 fail-fast : false
1717 steps :
1818 - uses : actions/checkout@v3
19+ - uses : mymindstorm/setup-emsdk@v14
1920 - name : Install Rust nightly
2021 run : |
2122 rustup toolchain install nightly
2223 rustup default nightly
24+ rustup target add wasm32-wasip1
2325 rustup component add rustfmt
2426 - name : Install Clang 19
2527 run : brew install llvm@19
28+ - name : Install wasmtime
29+ uses : bytecodealliance/actions/wasmtime/setup@v1
2630 - run : CXX=$(brew --prefix llvm@19)/bin/clang++ cargo xtask ci
31+
2732 build :
2833 runs-on : ubuntu-latest
2934 strategy :
@@ -36,11 +41,20 @@ jobs:
3641 CXX : ${{ matrix.cpp_compiler }}
3742 steps :
3843 - uses : actions/checkout@v3
44+ - uses : mymindstorm/setup-emsdk@v14
3945 - name : Install Rust nightly
4046 run : |
4147 rustup toolchain install nightly
4248 rustup default nightly
49+ rustup target add wasm32-wasip1
4350 rustup component add rustfmt
4451 - name : Install osmium
4552 run : sudo apt install libosmium2-dev
53+ - name : Install wasmtime
54+ uses : bytecodealliance/actions/wasmtime/setup@v1
55+ - name : Cache WASI SDK
56+ uses : actions/cache@v3
57+ with :
58+ path : examples/tutorial-wasm32/wasi-sdk-25.0-x86_64-linux
59+ key : wasi-sdk-25.0-x86_64-linux-v1
4660 - run : cargo xtask ci
You can’t perform that action at this time.
0 commit comments