Skip to content

Commit

Permalink
feat: client webtransport-websys feat
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Jan 24, 2024
1 parent aa0f7ad commit 69794b5
Show file tree
Hide file tree
Showing 36 changed files with 612 additions and 187 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,43 @@ jobs:
# we do many more runs on the nightly run
PROPTEST_CASES: 50

wasm:
if: "!startsWith(github.event.head_commit.message, 'chore(release):')"
name: Wasm builds
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2

- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- name: Build client for wasm
# wasm pack doesnt support workspaces
# --dev to avoid a loong optimisation step
run: cd sn_client && wasm-pack build --dev
timeout-minutes: 30

websocket:
if: "!startsWith(github.event.head_commit.message, 'chore(release):')"
name: Standard Websocket builds
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2

- name: Build all for `--tcp`
run: cargo build --features="websockets"
timeout-minutes: 30

e2e:
if: "!startsWith(github.event.head_commit.message, 'chore(release):')"
name: E2E tests
Expand Down

0 comments on commit 69794b5

Please sign in to comment.