File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 2828 - run : rustup default stable
2929 - run : rustup component add rustfmt
3030 - run : cargo fmt --all -- --check
31+
32+ smoke-test :
33+ runs-on : ubuntu-latest
34+ steps :
35+ - uses : actions/checkout@v2
36+ - name : Download and install wasi-sdk
37+ run : |
38+ cd /opt
39+ wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-24/wasi-sdk-24.0-x86_64-linux.tar.gz
40+ tar zxvf wasi-sdk-24.0-x86_64-linux.tar.gz
41+ ln -s wasi-sdk-24.0-x86_64-linux wasi-sdk
42+ ls /opt/wasi-sdk
43+ - name : Download and install wasmtime
44+ run : |
45+ cd /opt
46+ wget https://github.com/bytecodealliance/wasmtime/releases/download/v25.0.2/wasmtime-v25.0.2-x86_64-linux.tar.xz
47+ tar Jxvf wasmtime-v25.0.2-x86_64-linux.tar.xz
48+ ln -s `pwd`/wasmtime-v25.0.2-x86_64-linux/wasmtime /usr/local/bin/
49+ - name : Build
50+ run : cargo build --release
51+ - name : Build and run base 'simple' test
52+ run : make -C tests/simple run-base
53+ - name : Build and run wevaled 'simple' test
54+ run : make -C tests/simple run-wevaled
You can’t perform that action at this time.
0 commit comments