Module: kamailio
Branch: master
Commit: bb1a80695825a607bfc713dab22b6edb369e8351
URL:
https://github.com/kamailio/kamailio/commit/bb1a80695825a607bfc713dab22b6ed…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2022-07-04T09:26:43+02:00
github: use different file to define PR checks [skip ci]
---
Added: .github/workflows/pull_request.yml
Modified: .github/workflows/main.yml
---
Diff:
https://github.com/kamailio/kamailio/commit/bb1a80695825a607bfc713dab22b6ed…
Patch:
https://github.com/kamailio/kamailio/commit/bb1a80695825a607bfc713dab22b6ed…
---
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 44f18e0f08..8704cda5e8 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -6,9 +6,6 @@ name: build
- master
- '5.6'
- '5.5'
- pull_request:
- branches:
- - master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
new file mode 100644
index 0000000000..2633e7e29e
--- /dev/null
+++ b/.github/workflows/pull_request.yml
@@ -0,0 +1,33 @@
+---
+name: checks_pr
+'on':
+ pull_request:
+ branches:
+ - master
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ container:
+ image: 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/gcc-problem-matcher(a)0.1
+ - name: build
+ run: |
+ cd /code
+ ./test/travis/build_travis.sh
+ shell: bash