2018-07-15 11:58:47 +00:00
|
|
|
before_script:
|
2018-07-15 12:03:55 +00:00
|
|
|
- >
|
|
|
|
apt-get update -qq && apt-get install -y -qq iptables-dev libevent-dev
|
2018-07-15 12:11:31 +00:00
|
|
|
libnfnetlink-dev uuid-dev make gcc gcc-mingw-w64-i686 mingw-w64-tools
|
2018-07-15 13:39:34 +00:00
|
|
|
libnftnl-dev libmnl-dev libssl-dev net-tools
|
2018-07-15 11:58:47 +00:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
|
|
|
job_miniupnpd:
|
|
|
|
stage: build
|
|
|
|
script:
|
2018-07-15 12:25:53 +00:00
|
|
|
- "cd miniupnpd"
|
|
|
|
- "make -j3 -f Makefile.linux && make -f Makefile.linux check"
|
|
|
|
- "make -f Makefile.linux clean"
|
|
|
|
- "make -j3 -f Makefile.linux_nft"
|
2019-09-24 09:20:17 +00:00
|
|
|
- "make -f Makefile.linux_nft dox"
|
2018-07-15 11:58:47 +00:00
|
|
|
|
2018-07-15 12:22:19 +00:00
|
|
|
# i686-w64-mingw32-gcc
|
2018-07-15 11:58:47 +00:00
|
|
|
job_miniupnpc:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- "cd miniupnpc && make -j3 && make check"
|
2018-07-15 12:17:09 +00:00
|
|
|
- "make clean"
|
2018-07-15 12:22:19 +00:00
|
|
|
- "make -f Makefile.mingw DLLWRAP=i686-w64-mingw32-dllwrap CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar"
|