| 1234567891011121314151617181920212223242526272829303132333435 |
- ---
- name: checks_pr
- 'on':
- pull_request:
- branches:
- - master
- # Allows you to run this workflow manually from the Actions tab
- workflow_dispatch:
- permissions:
- contents: read # to fetch code (actions/checkout)
- jobs:
- build:
- runs-on: ubuntu-latest
- container:
- image: ghcr.io/kamailio/pkg-kamailio-docker:master-${{ matrix.distribution }}
- volumes:
- - ${{ github.workspace }}:/code
- env:
- DIST: ${{ matrix.distribution }}
- CC: ${{ matrix.compilier }}
- strategy:
- matrix:
- include:
- - distribution: bullseye
- compilier: gcc
- - distribution: bullseye
- compilier: clang
- steps:
- - uses: actions/checkout@v2
- - uses: ammaraskar/[email protected]
- - name: build
- run: |
- cd /code
- ./test/travis/build_travis.sh
- shell: bash
|