forked from kamailio/kamailio
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (42 loc) · 1.09 KB
/
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
40
41
42
---
name: build
'on':
push:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read # to fetch code (actions/checkout)
container:
image: ghcr.io/kamailio/pkg-kamailio-docker:${{ github.ref_name }}-${{ matrix.distribution }}
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
volumes:
- ${{ github.workspace }}:/code
env:
DIST: ${{ matrix.distribution }}
CC: ${{ matrix.compilier }}
strategy:
matrix:
include:
- distribution: bookworm
compilier: gcc
- distribution: bookworm
compilier: clang
- distribution: sid
compilier: gcc
- distribution: sid
compilier: clang
steps:
- uses: actions/checkout@v4
- uses: ammaraskar/[email protected]
- name: build
run: |
cd /code
./test/travis/build_travis.sh
shell: bash