build for both iptables and nftables
This commit is contained in:
parent
168036c9ae
commit
552c6c7297
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue