From 1425f0bf88d1d2994b2001a35e1a45796fe8a4e9 Mon Sep 17 00:00:00 2001 From: oech3 <> Date: Sun, 19 Apr 2026 17:04:21 +0900 Subject: [PATCH] Add CI for wasm32 --- .github/workflows/wasi.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/wasi.yml diff --git a/.github/workflows/wasi.yml b/.github/workflows/wasi.yml new file mode 100644 index 0000000..f3a0f3e --- /dev/null +++ b/.github/workflows/wasi.yml @@ -0,0 +1,28 @@ +# spell-checker:ignore wasip +name: WASI + +on: + pull_request: + push: + branches: + - main + +permissions: + contents: read + +# End the current execution if there is a new changeset in the PR. +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + +jobs: + test_wasi: + name: Tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: dtolnay/rust-toolchain@stable + with: + targets: wasm32-wasip1 + - name: check + run: cargo check --target wasm32-wasip1