Skip to content

Commit

Permalink
Add WASM build to CI (tari-project#40)
Browse files Browse the repository at this point in the history
This PR adds a `wasm32-unknown-unknown` target build to the CI pipeline.
  • Loading branch information
AaronFeickert authored Jan 14, 2024
1 parent da40c2a commit 61ae167
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- name: Release build (no features)
run: cargo build --release --all-targets --no-default-features
- name: Release (all features)
- name: Release build (all features)
run: cargo build --release --all-targets --all-features
- name: Release build (WASM)
run: cargo build --release --target wasm32-unknown-unknown --no-default-features
test:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 61ae167

Please sign in to comment.