pull_request.yml 888 B

1234567891011121314151617181920212223242526272829303132333435
  1. ---
  2. name: checks_pr
  3. 'on':
  4. pull_request:
  5. branches:
  6. - master
  7. # Allows you to run this workflow manually from the Actions tab
  8. workflow_dispatch:
  9. permissions:
  10. contents: read # to fetch code (actions/checkout)
  11. jobs:
  12. build:
  13. runs-on: ubuntu-latest
  14. container:
  15. image: ghcr.io/kamailio/pkg-kamailio-docker:master-${{ matrix.distribution }}
  16. volumes:
  17. - ${{ github.workspace }}:/code
  18. env:
  19. DIST: ${{ matrix.distribution }}
  20. CC: ${{ matrix.compilier }}
  21. strategy:
  22. matrix:
  23. include:
  24. - distribution: bullseye
  25. compilier: gcc
  26. - distribution: bullseye
  27. compilier: clang
  28. steps:
  29. - uses: actions/checkout@v2
  30. - uses: ammaraskar/[email protected]
  31. - name: build
  32. run: |
  33. cd /code
  34. ./test/travis/build_travis.sh
  35. shell: bash