blob: a44c0b554c1ea4f6b416a0950f1f9940ce6748b8 (
plain)
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
|
name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
CC: [gcc, clang]
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get install -y --no-install-recommends libnl-3-dev libnl-genl-3-dev libnl-route-3-dev libnetfilter-conntrack-dev libgeoip-dev liburcu-dev libpcap-dev libnet1-dev libcli-dev libsodium-dev clang
- name: Check out code
uses: actions/checkout@v2
- name: Build (with all features)
run: |
CC=${{ matrix.CC }} ./configure
make CC=${{ matrix.CC }}
- name: Build (without GeoIP)
run: |
make clean
CC=${{ matrix.CC }} ./configure --disable-geoip
make CC=${{ matrix.CC }}
- name: Build (without zlib)
run: |
make clean
CC=${{ matrix.CC }} ./configure --disable-zlib
make CC=${{ matrix.CC }}
- name: Build (without GeoIP and zlib)
run: |
make clean
CC=${{ matrix.CC }} ./configure --disable-geoip --disable-zlib
make CC=${{ matrix.CC }}
- name: Build (without libnl)
run: |
make clean
CC=${{ matrix.CC }} ./configure --disable-libnl
make CC=${{ matrix.CC }}
|