build for both iptables and nftables

This commit is contained in:
Thomas Bernard 2020-11-05 00:03:54 +01:00
parent 168036c9ae
commit 552c6c7297
1 changed files with 11 additions and 4 deletions

View File

@ -25,9 +25,16 @@ jobs:
- name: install packages - name: install packages
run: sudo apt-get install iptables-dev libnfnetlink-dev libnftnl-dev libmnl-dev libssl-dev run: sudo apt-get install iptables-dev libnfnetlink-dev libnftnl-dev libmnl-dev libssl-dev
- name: build miniupnpd - name: build miniupnpd(iptables)
run: | run: |
mkdir -p miniupnpd/build mkdir -p miniupnpd/build-ipt
cd miniupnpd/build cd miniupnpd/build/ipt
../configure ../configure --ipv6 --igd2 --strict --portinuse --firewall=iptables
make all check
- name: build miniupnpd(nftables)
run: |
mkdir -p miniupnpd/build-ipt
cd miniupnpd/build/ipt
../configure --ipv6 --igd2 --strict --portinuse --firewall=nftables
make all check make all check