ci: also build for web

This commit is contained in:
əlemi 2024-10-01 00:22:04 +02:00
parent fcfece2ee5
commit 7ac159b129
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -41,6 +41,18 @@ jobs:
toolchain: ${{ matrix.toolchain }}
- run: cargo build --release --verbose --features=${{ matrix.features }}
build-web:
runs-on: ubuntu-latest
steps:
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo build --release --verbose --no-default-features --features=web --target=wasm32-unknown-unknown
test:
runs-on: ubuntu-latest
strategy: