-
-
Notifications
You must be signed in to change notification settings - Fork 82
54 lines (47 loc) · 1.58 KB
/
build.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
43
44
45
46
47
48
49
50
51
52
53
54
name: Build
on:
push:
branches: [ master, next ]
pull_request:
branches: [ master, next ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
image: ['debian:11', 'debian:12', 'ubuntu:20.04', 'ubuntu:22.04', 'ubuntu:24.04']
container: ${{ matrix.image }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Install build essentials
run: |
apt-get -y update
DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential git clang
- name: Build all disabled
run: |
./configure --disable-linuxdvb --disable-dvbca --disable-dvbcsa --disable-netcv --disable-satipc --disable-dvbapi
make
- name: Install additional build dependencies
run: |
DEBIAN_FRONTEND=noninteractive apt-get -y install libdvbcsa-dev libssl-dev zlib1g-dev libxml2-dev
git clone https://github.com/vdr-projects/libnetceiver/
cd libnetceiver/ && make install
cd ..
- name: Build all enabled
run: |
make clean
./configure --enable-linuxdvb --enable-dvbca --enable-dvbcsa --enable-netcv --enable-dvbapi --enable-axe
make
- name: Build clang
run: |
make clean
./configure --enable-linuxdvb --enable-dvbca --enable-dvbcsa --enable-netcv --enable-dvbapi --enable-axe CC=clang
make
- name: Build with --enable-axe, without libssl-dev
run: |
apt-get -y remove --purge libssl-dev
make clean
./configure --enable-axe --enable-dvbapi --enable-dvbcsa --disable-dvbca --disable-netcv
make