artifactview/crates/async_zip/.github/workflows/ci-wasm.yml

24 lines
512 B
YAML

name: Build (WASM)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build ['full-wasm' feature] on ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
matrix:
target:
- wasm32-wasi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v4
- run: rustup target add ${{ matrix.target }}
- run: cargo build --verbose --target ${{ matrix.target }} --features full-wasm