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 4796815
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/rtp.io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,40 @@ 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: |
cd dist/voiptests
export CC="${COMPILER}"
python -m pip install -r requirements.txt
sh -x ./test_run.sh

0 comments on commit 4796815

Please sign in to comment.