Skip to content

Commit

Permalink
Add CI configuraiton for WASM
Browse files Browse the repository at this point in the history
  • Loading branch information
shadaj committed Apr 20, 2024
1 parent cd8602c commit 9ba424d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,32 @@ jobs:
- run: cargo check -p deadpool-${{ matrix.crate }}
--features ${{ matrix.feature }}

check-integration-wasm:
name: Check integration (WebAssembly)
strategy:
fail-fast: false
matrix:
crate:
- postgres
feature:
- rt_tokio_1
- rt_async-std_1
- "serde --features rt_tokio_1"
- "serde --features rt_async-std_1"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown

- run: cargo check -p deadpool-${{ matrix.crate }}
--no-default-features
--features ${{ matrix.feature }}
--target wasm32-unknown-unknown

msrv:
name: MSRV
strategy:
Expand Down

0 comments on commit 9ba424d

Please sign in to comment.