Skip to content

Commit

Permalink
Run voiptests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Oct 4, 2024
1 parent 566ed01 commit f73f697
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/rtp.io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: sippylabs/rtpproxy:latest
options: --privileged --sysctl net.ipv6.conf.all.disable_ipv6=0
env:
COMPILER: clang-18
BUILD_OS: ubuntu-latest
Expand Down Expand Up @@ -45,3 +46,43 @@ jobs:
run: |
apt-get install -y libsrtp2-dev
ONE_MODULE=rtp.io LDFLAGS=-flto CFLAGS=-flto sh -x scripts/build/do_build.sh
- name: Checkout VoIPTests repo
uses: actions/checkout@v4
with:
repository: 'sippy/voiptests'
ref: wip
path: dist/voiptests

- name: Checkout RTPProxy repo
uses: actions/checkout@v4
with:
repository: 'sippy/rtpproxy'
path: dist/rtpproxy

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Define PYTHON_CMD
run: |
PYTHON_VER="`echo 3.12 | sed 's|-dev$||'`"
echo "PYTHON_CMD=python${PYTHON_VER}" >> $GITHUB_ENV
- name: Test rtp.io module
env:
MM_TYPE: opensips
MM_BRANCH: master
MM_ROOT: ../../
RTPP_BRANCH: DOCKER
RTPPC_TYPE: unix
RTPPROXY_DIST: ../../dist/rtpproxy
run: |
export CC="${COMPILER}"
cd dist/rtpproxy
./configure
cd ../../dist/voiptests
python -m pip install -r requirements.txt
DEBIAN_FRONTEND=noninteractive apt-get install -y gpp
sh -x ./test_run.sh

0 comments on commit f73f697

Please sign in to comment.