File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,6 +156,38 @@ jobs:
156156 MMTEST_FAST_TEST : 1
157157
158158
159+ wasm_test :
160+ runs-on : ubuntu-latest
161+ strategy :
162+ matrix :
163+ include :
164+ - rust : stable
165+ target : wasm32-wasip1
166+ rustflags : " "
167+ name : fallback
168+ - rust : stable
169+ target : wasm32-wasip1
170+ rustflags : " -C target-feature=+simd128"
171+ name : simd128
172+
173+ name : wasm_test/${{ matrix.target }}/${{ matrix.name }}
174+ steps :
175+ - uses : actions/checkout@v4
176+ - uses : dtolnay/rust-toolchain@stable
177+ with :
178+ toolchain : ${{ matrix.rust }}
179+ targets : ${{ matrix.target }}
180+ - name : Install wasmtime
181+ uses : bytecodealliance/actions/wasmtime/setup@v1
182+ - name : Tests
183+ run : |
184+ cargo test -v --tests --lib --release --no-fail-fast --target "${{ matrix.target }}"
185+ env :
186+ RUSTFLAGS : ${{ matrix.rustflags }}
187+ CARGO_TARGET_WASM32_WASIP1_RUNNER : " wasmtime --dir=."
188+ MMTEST_FAST_TEST : 1
189+
190+
159191 cargo-careful :
160192 runs-on : ubuntu-latest
161193 name : cargo-careful
You can’t perform that action at this time.
0 commit comments