forked from kamailio/kamailio
-
Notifications
You must be signed in to change notification settings - Fork 18
39 lines (39 loc) · 1007 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
name: build
'on':
push:
branches:
- '5.6'
# 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:${{ github.ref_name }}-${{ matrix.distribution }}
volumes:
- ${{ github.workspace }}:/code
env:
DIST: ${{ matrix.distribution }}
CC: ${{ matrix.compilier }}
strategy:
matrix:
include:
- distribution: bullseye
compilier: gcc
- distribution: bullseye
compilier: clang
- distribution: sid
compilier: gcc
- distribution: sid
compilier: clang
steps:
- uses: actions/checkout@v2
- uses: ammaraskar/[email protected]
- name: build
run: |
cd /code
./test/travis/build_travis.sh
shell: bash