From 9db75360848bb54245b1ad966b37d33e127b39d9 Mon Sep 17 00:00:00 2001 From: Rajat Jindal Date: Fri, 19 Jun 2026 07:42:20 +0530 Subject: [PATCH] enable wasmtime tests Signed-off-by: Rajat Jindal --- .github/workflows/der.yml | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/der.yml b/.github/workflows/der.yml index 0e16b21b6..49375822f 100644 --- a/.github/workflows/der.yml +++ b/.github/workflows/der.yml @@ -172,19 +172,18 @@ jobs: - run: cargo miri test --target ${{ matrix.target }} --no-default-features --lib # Test WASM using `wasmtime` - # TODO(tarcieri): re-enable when bytecodealliance/actions#21 is resolved - # test-wasm: - # runs-on: ubuntu-latest - # env: - # CARGO_TARGET_WASM32_WASIP1_RUNNER: "wasmtime" - # steps: - # - uses: actions/checkout@v6 - # - uses: bytecodealliance/actions/wasmtime/setup@v1 - # - uses: dtolnay/rust-toolchain@master - # with: - # toolchain: stable - # targets: wasm32-wasip1 - # - run: cargo test --target wasm32-wasip1 --no-default-features - # - run: cargo test --target wasm32-wasip1 - # - run: cargo test --target wasm32-wasip1 --all-features - # - run: cargo test --target wasm32-wasip1 --all-features --release + test-wasm: + runs-on: ubuntu-latest + env: + CARGO_TARGET_WASM32_WASIP1_RUNNER: "wasmtime" + steps: + - uses: actions/checkout@v6 + - uses: bytecodealliance/actions/wasmtime/setup@v1 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: stable + targets: wasm32-wasip1 + - run: cargo test --target wasm32-wasip1 --no-default-features + - run: cargo test --target wasm32-wasip1 + - run: cargo test --target wasm32-wasip1 --all-features + - run: cargo test --target wasm32-wasip1 --all-features --release