| 1 | name: Build (WASM) |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [ main ] |
| 6 | pull_request: |
| 7 | branches: [ main ] |
| 8 | |
| 9 | env: |
| 10 | CARGO_TERM_COLOR: always |
| 11 | |
| 12 | jobs: |
| 13 | build: |
| 14 | name: Build ['full-wasm' feature] on ${{ matrix.target }} |
| 15 | runs-on: ubuntu-latest |
| 16 | strategy: |
| 17 | matrix: |
| 18 | target: |
| 19 | - wasm32-unknown-unknown |
| 20 | steps: |
| 21 | - uses: actions/checkout@v4 |
| 22 | - run: rustup target add ${{ matrix.target }} |
| 23 | - run: cargo build --verbose --target ${{ matrix.target }} --features full-wasm |