Skip to content

Commit

Permalink
At least build for wasm32 in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
playfulkittykat committed Oct 30, 2024
1 parent b836ae4 commit dbbbe37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ jobs:
- uses: actions/checkout@v2
- name: Install OpenSSL
run: sudo apt-get install libssl-dev
- name: Add Target
run: rustup target add wasm32-unknown-unknown
- name: Build
run: cargo build --verbose
- name: Run tests (All Features)
run: cargo test --verbose --all-features
- name: Run tests (No Default Features)
run: cargo test --verbose --no-default-features
- name: Build (wasm32)
run: cargo build --verbose --target wasm32-unknown-unknown

0 comments on commit dbbbe37

Please sign in to comment.