2018-07-15 11:58:47 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
2021-09-29 23:19:03 +00:00
|
|
|
# iproute2 : /bin/ip
|
|
|
|
# net-tools : /sbin/ifconfig
|
|
|
|
|
2021-09-30 20:55:44 +00:00
|
|
|
miniupnpd_iptables:
|
2018-07-15 11:58:47 +00:00
|
|
|
stage: build
|
2021-09-29 22:09:58 +00:00
|
|
|
before_script:
|
|
|
|
- >
|
2021-09-29 22:16:09 +00:00
|
|
|
apt-get update -qq && apt-get install -y -qq iproute2
|
|
|
|
libip4tc-dev libip6tc-dev libiptc-dev libxtables-dev
|
2021-09-29 22:09:58 +00:00
|
|
|
libnfnetlink-dev uuid-dev make gcc
|
2021-09-29 23:19:03 +00:00
|
|
|
libmnl-dev libssl-dev net-tools doxygen graphviz
|
|
|
|
script:
|
|
|
|
- "cd miniupnpd"
|
|
|
|
- "./configure || exit 1"
|
|
|
|
- "make -j3 && make check || exit 1"
|
|
|
|
- "make dox"
|
|
|
|
|
2021-09-30 20:55:44 +00:00
|
|
|
miniupnpd_nftables:
|
2021-09-29 23:19:03 +00:00
|
|
|
stage: build
|
|
|
|
before_script:
|
|
|
|
- >
|
|
|
|
apt-get update -qq && apt-get install -y -qq iproute2
|
|
|
|
libnftables-dev libnftnl-dev
|
|
|
|
libnfnetlink-dev uuid-dev make gcc
|
|
|
|
libmnl-dev libssl-dev net-tools doxygen graphviz
|
2018-07-15 11:58:47 +00:00
|
|
|
script:
|
2018-07-15 12:25:53 +00:00
|
|
|
- "cd miniupnpd"
|
2021-09-29 23:19:03 +00:00
|
|
|
- "./configure --firewall=nftables || exit 1"
|
|
|
|
- "make -j3 && make check || exit 1"
|
2020-04-28 22:46:00 +00:00
|
|
|
- "make dox"
|
2018-07-15 11:58:47 +00:00
|
|
|
|
2018-07-15 12:22:19 +00:00
|
|
|
# i686-w64-mingw32-gcc
|
2021-09-30 20:55:44 +00:00
|
|
|
miniupnpc:
|
2018-07-15 11:58:47 +00:00
|
|
|
stage: build
|
2021-09-29 22:09:58 +00:00
|
|
|
before_script:
|
|
|
|
- >
|
|
|
|
apt-get update -qq && apt-get install -y -qq libevent-dev
|
|
|
|
uuid-dev make gcc gcc-mingw-w64-i686 mingw-w64-tools
|
2021-09-29 23:19:03 +00:00
|
|
|
net-tools doxygen graphviz
|
2018-07-15 11:58:47 +00:00
|
|
|
script:
|
2021-09-29 23:19:03 +00:00
|
|
|
- "cd miniupnpc"
|
|
|
|
- "make -j3 && make check || exit 1"
|
|
|
|
- "make clean || exit 1"
|
2021-03-19 09:20:42 +00:00
|
|
|
- "make -f Makefile.mingw DLLWRAP=i686-w64-mingw32-dllwrap WINDRES=i686-w64-mingw32-windres CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar"
|