Skip to content

Commit

Permalink
Add dockerized build.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Jun 16, 2024
1 parent 051a095 commit 98bbecc
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/rtp.io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,35 @@ jobs:
- name: Build rtp.io module
run: make -C modules/rtp.io

build_in_docker:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container:
image: sippylabs/rtpproxy:latest
continue-on-error: true
env:
COMPILER: ${{ matrix.compiler }}
BUILD_OS: ubuntu-latest

strategy:
fail-fast: false
matrix:
compiler: ['gcc', 'clang', 'gcc-11', 'gcc-12', 'clang-11', 'clang-12', 'clang-13', 'clang-14', 'clang-15']

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install dependencies
run: |
sh -x scripts/build/reset_sources.sh
sh -x scripts/build/install_depends.sh
- name: Build
run: sh -x scripts/build/do_build.sh

- name: Build rtp.io module
run: make -C modules/rtp.io

0 comments on commit 98bbecc

Please sign in to comment.