File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 92
92
toolchain : stable
93
93
components : clippy
94
94
target : wasm32-wasi
95
+ - name : Build all targets
96
+ uses : actions-rs/cargo@v1
97
+ with :
98
+ command : build
99
+ args : --target wasm32-wasi --workspace --all-targets
100
+ - name : Run Clippy linter
101
+ uses : actions-rs/cargo@v1
102
+ with :
103
+ command : clippy
104
+ args : --target wasm32-wasi --workspace --all-targets -- -D warnings
105
+ - name : Install cargo-wasi
106
+ uses : actions-rs/cargo@v1
107
+ with :
108
+ command : install
109
+ args : cargo-wasi
110
+ - name : Install wasmtime
111
+ run : |
112
+ curl https://wasmtime.dev/install.sh -sSf | bash
113
+ echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH
114
+ - name : Run tests
115
+ uses : actions-rs/cargo@v1
116
+ with :
117
+ command : wasi
118
+ args : test --workspace
119
+ wasm32-nightly :
120
+ name : wasm32 nightly
121
+ runs-on : ubuntu-latest
122
+ steps :
123
+ - uses : actions/checkout@v2
124
+ - name : Install nightly toolchain
125
+ uses : actions-rs/toolchain@v1
126
+ with :
127
+ toolchain : nightly
128
+ override : true
129
+ components : clippy
130
+ target : wasm32-wasi
95
131
- name : Build all targets
96
132
uses : actions-rs/cargo@v1
97
133
with :
You can’t perform that action at this time.
0 commit comments