.github/workflows/main.yml
30f1c7b6
 ---
 name: build
 'on':
   push:
     branches:
4e6772d9
       - master
584ef26d
       - '5.6'
       - '5.5'
30f1c7b6
   # Allows you to run this workflow manually from the Actions tab
   workflow_dispatch:
 jobs:
   build:
     runs-on: ubuntu-latest
     container:
584ef26d
       image: kamailio/pkg-kamailio-docker:${{ github.ref_name }}-${{ matrix.distribution }}
30f1c7b6
       volumes:
         - ${{ github.workspace }}:/code
       env:
         DIST: ${{ matrix.distribution }}
         CC: ${{ matrix.compilier }}
     strategy:
       matrix:
         include:
f2cf4581
           - distribution: bullseye
30f1c7b6
             compilier: gcc
f2cf4581
           - distribution: bullseye
30f1c7b6
             compilier: clang
           - distribution: sid
             compilier: gcc
           - distribution: sid
             compilier: clang
     steps:
       - uses: actions/checkout@v2
f1f73cc2
       - uses: ammaraskar/gcc-problem-matcher@0.1
30f1c7b6
       - name: build
         run: |
           cd /code
           ./test/travis/build_travis.sh
         shell: bash