Skip to content

E2E

E2E #1

Workflow file for this run

name: 'E2E'
on:
pull_request:
push:
branches: [ main ]
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install host tooling
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
ffmpeg build-essential cmake tclsh pkg-config \
libssl-dev libsqlite3-dev libspdlog-dev libfmt-dev
- name: Build server image
run: docker build -t sls:e2e .
# slc is the test client and is deliberately not shipped in the runtime
# image, so build it natively here against the pinned patched SRT.
- name: Build patched SRT
run: |
git clone -b v1.5.4+openirl.1 --depth 1 https://github.com/OpenIRL/srt.git /tmp/srt
cd /tmp/srt
./configure
make -j"$(nproc)"
sudo make install
sudo ldconfig
- name: Build slc test client
run: make -j"$(nproc)"
- name: Run e2e test
run: scripts/e2e_test.sh sls:e2e ./bin/slc