gitlab-ci: cross-compile miniupnpc for Win32

This commit is contained in:
Thomas Bernard 2018-07-15 14:11:31 +02:00
parent 8a2af6e9e6
commit dc11f02d37
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -1,7 +1,7 @@
before_script:
- >
apt-get update -qq && apt-get install -y -qq iptables-dev libevent-dev
libnfnetlink-dev uuid-dev make gcc
libnfnetlink-dev uuid-dev make gcc gcc-mingw-w64-i686 mingw-w64-tools
stages:
- build
@ -15,3 +15,4 @@ job_miniupnpc:
stage: build
script:
- "cd miniupnpc && make -j3 && make check"
- "make -f Makefile.mingw DLLWRAP=mingw32-dllwrap CC=mingw32-gcc AR=mingw32-ar"