diff --git a/.github/workflows/rtp.io.yml b/.github/workflows/rtp.io.yml index 0830daee8f5..4fc0a225707 100644 --- a/.github/workflows/rtp.io.yml +++ b/.github/workflows/rtp.io.yml @@ -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