-
Notifications
You must be signed in to change notification settings - Fork 23
38 lines (35 loc) · 1.09 KB
/
wish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: WHIP Endpoint Conformance Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install npm dependencies
run: npm ci
- name: Build WebUI
run: npm run build
- name: Build
run: cargo build --release --verbose
- name: Checkout tools repo
uses: actions/checkout@v4
with:
repository: wish-wg/resources
path: wish-tools
- name: Run WHIP Endpoint Conformance Tests
run: |
pushd wish-tools/conformance-tools/whip/server/
wget https://gist.github.com/a-wing/f7b074770b558e114911e339bb6a3e84/raw/9529d71fb8abe16fe4900a0232c77b2621c8d318/multirun.sh
chmod +x multirun.sh
npm install
export WHIP_ENDPOINT=http://127.0.0.1:7777/whip/777
./multirun.sh '../../../../target/release/live777' 'npm run test' 'sleep 10'