Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Oct 8, 2024
1 parent b6e5577 commit dc6480d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rtp.io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,6 @@ jobs:
file: ./docker/Dockerfile.rtp.io
build-args: |
BASE_IMAGE=${{ env.BASE_IMAGE }}
platforms: ${{ env.PLATFORMS }}
# platforms: ${{ env.PLATFORMS }}
platforms: linux/amd64

16 changes: 16 additions & 0 deletions docker/Dockerfile.rtp.io
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,19 @@ RUN mkdir tmp && cd modules && mv ${KEEP_MODULES} ${SKIP_MODULES} ../tmp && \
rm -rf * && cd ../tmp && mv ${KEEP_MODULES} ${SKIP_MODULES} ../modules && \
cd .. && rmdir tmp
RUN EXCLUDE_MODULES_ADD="${SKIP_MODULES}" sh -x scripts/build/do_build.sh
RUN apt-get install -y libsrtp2-dev lld-18
RUN env ONE_MODULE=rtp.io LDFLAGS="-flto -fuse-ld=lld" CFLAGS=-flto \
sh -x scripts/build/do_build.sh
ARG CC=${COMPILER}
RUN cd dist/rtpproxy && ./configure
RUN apt-get install -y gpp python-is-python3 python3-pip
RUN cd dist/voiptests && python -m pip install --break-system-packages -U -r requirements.txt

ARG MM_TYPE=opensips
ARG MM_BRANCH=master
ARG MM_ROOT=../..
ARG RTPP_BRANCH=DOCKER
ARG RTPPC_TYPE=rtp.io
ARG RTPPROXY_DIST=../../dist/rtpproxy
ARG ALICE_ARGS="-4"
RUN cd dist/voiptests && sh -x ./test_run.sh

0 comments on commit dc6480d

Please sign in to comment.