diff --git a/.github/workflows/wasm-bulild-check.yml b/.github/workflows/wasm-bulild-check.yml new file mode 100644 index 000000000000..d9b2860a361e --- /dev/null +++ b/.github/workflows/wasm-bulild-check.yml @@ -0,0 +1,34 @@ +name: CI wasm-check + +on: + push: + branches: + - main + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + wasm-ci: + name: Check wasm build + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Rust + uses: dtolnay/rust-toolchain@master + with: + toolchain: stable 2 weeks ago + + - name: Install wasm-pack + uses: taiki-e/install-action@v2 + with: + tool: wasm-pack + checksum: true + + - name: wasm build + shell: bash + run: make euclid-wasm